Class: GoScript::Command
- Inherits:
-
Object
- Object
- GoScript::Command
- Defined in:
- lib/go_script/command_group.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#lineno ⇒ Object
readonly
Returns the value of attribute lineno.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(description, path, lineno) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(description, path, lineno) ⇒ Command
Returns a new instance of Command.
10 11 12 13 14 |
# File 'lib/go_script/command_group.rb', line 10 def initialize(description, path, lineno) @description = description @path = path @lineno = lineno end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
8 9 10 |
# File 'lib/go_script/command_group.rb', line 8 def description @description end |
#lineno ⇒ Object (readonly)
Returns the value of attribute lineno.
8 9 10 |
# File 'lib/go_script/command_group.rb', line 8 def lineno @lineno end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
8 9 10 |
# File 'lib/go_script/command_group.rb', line 8 def path @path end |