Class: Ravensat::Extension::Variable
- Inherits:
-
Object
- Object
- Ravensat::Extension::Variable
- Defined in:
- lib/ravensat/extension/variable/variable.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, args) ⇒ Variable
constructor
A new instance of Variable.
- #is_defined? ⇒ Boolean
Constructor Details
#initialize(name, args) ⇒ Variable
Returns a new instance of Variable.
6 7 8 9 |
# File 'lib/ravensat/extension/variable/variable.rb', line 6 def initialize(name, args) @name = name @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
5 6 7 |
# File 'lib/ravensat/extension/variable/variable.rb', line 5 def args @args end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/ravensat/extension/variable/variable.rb', line 5 def name @name end |
Instance Method Details
#is_defined? ⇒ Boolean
11 12 13 |
# File 'lib/ravensat/extension/variable/variable.rb', line 11 def is_defined? true end |