Class: ActionController::Base::RailsFrillHelper
- Inherits:
-
Object
- Object
- ActionController::Base::RailsFrillHelper
- Defined in:
- lib/frill/rails.rb
Instance Method Summary collapse
- #frill ⇒ Object
-
#initialize(object, controller, options) ⇒ RailsFrillHelper
constructor
A new instance of RailsFrillHelper.
Constructor Details
#initialize(object, controller, options) ⇒ RailsFrillHelper
Returns a new instance of RailsFrillHelper.
29 30 31 32 33 |
# File 'lib/frill/rails.rb', line 29 def initialize(object, controller, ) @object = object @controller = controller @options = end |
Instance Method Details
#frill ⇒ Object
35 36 37 38 39 |
# File 'lib/frill/rails.rb', line 35 def frill extend_with_view_context frill_object object end |