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
Returns a new instance of Pattern.
443 444 445 446 |
# File 'lib/picotune.rb', line 443 def initialize name, steps @name = name @steps = steps end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
441 442 443 |
# File 'lib/picotune.rb', line 441 def name @name end |
#steps ⇒ Object (readonly)
Returns the value of attribute steps.
441 442 443 |
# File 'lib/picotune.rb', line 441 def steps @steps end |