Class: Caml::Argument
- Inherits:
-
Object
- Object
- Caml::Argument
- Defined in:
- lib/caml/caml.rb
Instance Attribute Summary collapse
-
#desc ⇒ Object
readonly
Returns the value of attribute desc.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Argument
constructor
A new instance of Argument.
- #to_s ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Argument
Returns a new instance of Argument.
97 98 99 100 101 |
# File 'lib/caml/caml.rb', line 97 def initialize( ={}) @name = ['name'] @desc = ['desc'] @type = ['type'] end |
Instance Attribute Details
#desc ⇒ Object (readonly)
Returns the value of attribute desc.
95 96 97 |
# File 'lib/caml/caml.rb', line 95 def desc @desc end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
95 96 97 |
# File 'lib/caml/caml.rb', line 95 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
95 96 97 |
# File 'lib/caml/caml.rb', line 95 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
95 96 97 |
# File 'lib/caml/caml.rb', line 95 def value @value end |
Instance Method Details
#to_s ⇒ Object
103 104 105 |
# File 'lib/caml/caml.rb', line 103 def to_s inspect end |