Module: Steppable::ClassMethods
- Defined in:
- lib/cooklang_rb/steppable.rb
Instance Method Summary collapse
Instance Method Details
#attr_reader(*vars) ⇒ Object
26 27 28 29 30 |
# File 'lib/cooklang_rb/steppable.rb', line 26 def attr_reader(*vars) @attributes ||= [] @attributes.concat vars super(*vars) end |
#attributes ⇒ Object
32 33 34 |
# File 'lib/cooklang_rb/steppable.rb', line 32 def attributes @attributes end |