Class: MetaProject::Patois::Parser::Command
- Inherits:
-
Object
- Object
- MetaProject::Patois::Parser::Command
- Defined in:
- lib/meta_project/patois/parser.rb
Instance Attribute Summary collapse
-
#cmd ⇒ Object
readonly
Returns the value of attribute cmd.
-
#issue_id ⇒ Object
readonly
Returns the value of attribute issue_id.
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Instance Method Summary collapse
-
#initialize(cmd, issue_id, msg) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(cmd, issue_id, msg) ⇒ Command
Returns a new instance of Command.
93 94 95 |
# File 'lib/meta_project/patois/parser.rb', line 93 def initialize(cmd, issue_id, msg) @cmd, @issue_id, @msg = cmd, issue_id, msg end |
Instance Attribute Details
#cmd ⇒ Object (readonly)
Returns the value of attribute cmd.
91 92 93 |
# File 'lib/meta_project/patois/parser.rb', line 91 def cmd @cmd end |
#issue_id ⇒ Object (readonly)
Returns the value of attribute issue_id.
91 92 93 |
# File 'lib/meta_project/patois/parser.rb', line 91 def issue_id @issue_id end |
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
91 92 93 |
# File 'lib/meta_project/patois/parser.rb', line 91 def msg @msg end |