Module: Slotify::Extensions::Base
- Includes:
- SlotCompatability
- Defined in:
- lib/slotify/extensions/base.rb
Instance Attribute Summary collapse
-
#slotify ⇒ Object
Returns the value of attribute slotify.
Instance Method Summary collapse
Instance Attribute Details
#slotify ⇒ Object
Returns the value of attribute slotify.
6 7 8 |
# File 'lib/slotify/extensions/base.rb', line 6 def slotify @slotify end |
Instance Method Details
#capture_with_outer_slotify_access(*args, &block) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/slotify/extensions/base.rb', line 8 def capture_with_outer_slotify_access(*args, &block) inner_slotify, @slotify = slotify, slotify.outer_slotify inner_slotify.capture(*args, &block) ensure @slotify = inner_slotify end |