Class: SPQR::ArgMeta
- Inherits:
-
Struct
- Object
- Struct
- SPQR::ArgMeta
- Defined in:
- lib/spqr/manageable.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#direction ⇒ Object
Returns the value of attribute direction.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(*a) ⇒ ArgMeta
constructor
A new instance of ArgMeta.
Constructor Details
#initialize(*a) ⇒ ArgMeta
Returns a new instance of ArgMeta.
116 117 118 119 |
# File 'lib/spqr/manageable.rb', line 116 def initialize(*a) super *a self. = (({} unless self.) or self..dup) end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
115 116 117 |
# File 'lib/spqr/manageable.rb', line 115 def description @description end |
#direction ⇒ Object
Returns the value of attribute direction
115 116 117 |
# File 'lib/spqr/manageable.rb', line 115 def direction @direction end |
#kind ⇒ Object
Returns the value of attribute kind
115 116 117 |
# File 'lib/spqr/manageable.rb', line 115 def kind @kind end |
#name ⇒ Object
Returns the value of attribute name
115 116 117 |
# File 'lib/spqr/manageable.rb', line 115 def name @name end |
#options ⇒ Object
Returns the value of attribute options
115 116 117 |
# File 'lib/spqr/manageable.rb', line 115 def @options end |