Module: SomethingAndNothing
- Defined in:
- lib/something_and_nothing.rb,
lib/something_and_nothing/view_helper.rb,
lib/something_and_nothing/list_display_helper.rb
Defined Under Namespace
Modules: ViewHelper Classes: ListDisplayHelper
Class Method Summary collapse
Class Method Details
.enable_actionview ⇒ Object
7 8 9 10 11 |
# File 'lib/something_and_nothing.rb', line 7 def enable_actionview return if ActionView::Base.include? SomethingAndNothing::ViewHelper require 'something_and_nothing/view_helper' ActionView::Base.send :include, ViewHelper end |