Class: PicoTune::Pattern
- Inherits:
-
Object
- Object
- PicoTune::Pattern
- Defined in:
- lib/picotune.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#steps ⇒ Object
readonly
Returns the value of attribute steps.
Instance Method Summary collapse
-
#initialize(name, steps) ⇒ Pattern
constructor
A new instance of Pattern.
Constructor Details
#initialize(name, steps) ⇒ Pattern
449 450 451 452 |
# File 'lib/picotune.rb', line 449 def initialize name, steps @name = name @steps = steps end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
447 448 449 |
# File 'lib/picotune.rb', line 447 def name @name end |
#steps ⇒ Object (readonly)
Returns the value of attribute steps.
447 448 449 |
# File 'lib/picotune.rb', line 447 def steps @steps end |