Class: RhContext::ERBConfig
Overview
ERBConfig context for subhash selection, or filter
Instance Attribute Summary collapse
-
#context ⇒ Object
Returns the value of attribute context.
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#get_binding ⇒ Object
Bind this limited class with ERB templates.
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context.
27 28 29 |
# File 'lib/rh.rb', line 27 def context @context end |
#data ⇒ Object
Returns the value of attribute data.
26 27 28 |
# File 'lib/rh.rb', line 26 def data @data end |
Instance Method Details
#get_binding ⇒ Object
Bind this limited class with ERB templates
30 31 32 |
# File 'lib/rh.rb', line 30 def get_binding # rubocop: disable AccessorMethodName binding end |