Sha256: dd6231facea1084eabe386e0a410fe03e238a7f87ed5454046c57053dc491717

Contents?: true

Size: 291 Bytes

Versions: 7

Compression:

Stored size: 291 Bytes

Contents

module Crummy
  if defined?(Rails::Railtie)
    require 'crummy/railtie'
  else
    require 'crummy/action_controller'
    require 'crummy/action_view'
    ActionController::Base.send :include,  Crummy::ControllerMethods 
    ActionView::Base.send :include, Crummy::ViewMethods
  end	  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
crummy-1.3.6 lib/crummy.rb
crummy-1.3.5 lib/crummy.rb
crummy-1.3 lib/crummy.rb
crummy-1.2 lib/crummy.rb
crummy-1.1.1 lib/crummy.rb
crummy-1.1.0 lib/crummy.rb
crummy-1.0.1 lib/crummy.rb