Class: ActionController::Base::RailsFrillHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/frill/rails.rb

Instance Method Summary collapse

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, options)
  @object = object
  @controller = controller
  @options = options
end

Instance Method Details

#frillObject



35
36
37
38
39
# File 'lib/frill/rails.rb', line 35

def frill
  extend_with_view_context
  frill_object
  object
end