Class: Fylla::ParsedCommand
- Inherits:
-
Object
- Object
- Fylla::ParsedCommand
- Defined in:
- lib/fylla/parsed_command.rb
Instance Attribute Summary collapse
-
#ancestor_name ⇒ Object
Returns the value of attribute ancestor_name.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(ancestor_name, description, name, options) ⇒ ParsedCommand
constructor
A new instance of ParsedCommand.
Constructor Details
#initialize(ancestor_name, description, name, options) ⇒ ParsedCommand
Returns a new instance of ParsedCommand.
5 6 7 8 9 10 |
# File 'lib/fylla/parsed_command.rb', line 5 def initialize(ancestor_name, description, name, ) @ancestor_name = ancestor_name @description = description @name = name @options = end |
Instance Attribute Details
#ancestor_name ⇒ Object
Returns the value of attribute ancestor_name.
3 4 5 |
# File 'lib/fylla/parsed_command.rb', line 3 def ancestor_name @ancestor_name end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/fylla/parsed_command.rb', line 3 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/fylla/parsed_command.rb', line 3 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/fylla/parsed_command.rb', line 3 def @options end |