Class: OpConnect::Item::GeneratorRecipe
- Inherits:
-
Object
- Object
- OpConnect::Item::GeneratorRecipe
- Defined in:
- lib/op_connect/item/generator_recipe.rb
Instance Attribute Summary collapse
-
#character_sets ⇒ Object
readonly
Returns the value of attribute character_sets.
-
#length ⇒ Object
readonly
Returns the value of attribute length.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ GeneratorRecipe
constructor
A new instance of GeneratorRecipe.
Constructor Details
#initialize(options = {}) ⇒ GeneratorRecipe
Returns a new instance of GeneratorRecipe.
6 7 8 9 |
# File 'lib/op_connect/item/generator_recipe.rb', line 6 def initialize( = {}) @length = ["length"] if & ["length"] @character_sets = ["characterSets"] if & ["characterSets"] end |
Instance Attribute Details
#character_sets ⇒ Object (readonly)
Returns the value of attribute character_sets.
4 5 6 |
# File 'lib/op_connect/item/generator_recipe.rb', line 4 def character_sets @character_sets end |
#length ⇒ Object (readonly)
Returns the value of attribute length.
4 5 6 |
# File 'lib/op_connect/item/generator_recipe.rb', line 4 def length @length end |