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