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