Module: Antlers::Props
Instance Attribute Summary collapse
-
#props ⇒ Object
Returns the value of attribute props.
Instance Method Summary collapse
Methods included from Variables
Instance Attribute Details
#props ⇒ Object
Returns the value of attribute props.
10 11 12 |
# File 'lib/modules/props.rb', line 10 def props @props end |
Instance Method Details
#initialize(name:, props: {}) ⇒ Object
12 13 14 15 16 |
# File 'lib/modules/props.rb', line 12 def initialize(name:, props: {}, **) super(name:, **) @props = props end |