Module: Railjet::Presenter::WithContext
- Extended by:
- ActiveSupport::Concern
- Includes:
- Railjet::Presenter
- Defined in:
- lib/railjet/presenter.rb
Defined Under Namespace
Modules: ClassMethods, Factory
Instance Attribute Summary
Attributes included from Railjet::Presenter
Instance Method Summary collapse
Methods included from Railjet::Presenter
Instance Method Details
#initialize(context, object) ⇒ Object
40 41 42 43 |
# File 'lib/railjet/presenter.rb', line 40 def initialize(context, object) @context = context super(object) end |