Class: Card::Format::CardActionView
- Defined in:
- card/lib/card/format/card_action_view.rb
Overview
minimalist subclass of ActionView
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.lookup_context ⇒ Object
10 11 12 |
# File 'card/lib/card/format/card_action_view.rb', line 10 def lookup_context @lookup_context ||= ::ActionView::LookupContext.new CardController.view_paths end |
.new(controller) ⇒ Object
6 7 8 |
# File 'card/lib/card/format/card_action_view.rb', line 6 def new controller super lookup_context, { _routes: nil }, controller end |
Instance Method Details
#compiled_method_container ⇒ Object
15 16 17 |
# File 'card/lib/card/format/card_action_view.rb', line 15 def compiled_method_container self.class end |