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