Class: Immutabler::DSL::Prop
- Inherits:
-
Object
- Object
- Immutabler::DSL::Prop
- Defined in:
- lib/immutabler/dsl/prop.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name, type, options) ⇒ Prop
constructor
A new instance of Prop.
Constructor Details
#initialize(name, type, options) ⇒ Prop
Returns a new instance of Prop.
6 7 8 9 10 |
# File 'lib/immutabler/dsl/prop.rb', line 6 def initialize(name, type, ) @name = name @type = type @options = end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/immutabler/dsl/prop.rb', line 4 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
4 5 6 |
# File 'lib/immutabler/dsl/prop.rb', line 4 def @options end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/immutabler/dsl/prop.rb', line 4 def type @type end |