Class: MetaProject::Patois::Parser::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/meta_project/patois/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#cmdObject (readonly)

Returns the value of attribute cmd.



91
92
93
# File 'lib/meta_project/patois/parser.rb', line 91

def cmd
  @cmd
end

#issue_idObject (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

#msgObject (readonly)

Returns the value of attribute msg.



91
92
93
# File 'lib/meta_project/patois/parser.rb', line 91

def msg
  @msg
end