Module: Renshi::Frameworks

Defined in:
lib/renshi/frameworks.rb,
lib/renshi/frameworks/rails.rb

Defined Under Namespace

Modules: Rails

Class Method Summary collapse

Class Method Details

.noticeObject

framework integrations can be loaded within notice by checking the environment



4
5
6
7
# File 'lib/renshi/frameworks.rb', line 4

def self.notice
  require 'renshi/frameworks/rails' if defined? ENV['RAILS_ENV']
  require 'renshi/frameworks/sinatra' if defined? Sinatra
end