Class: Zomgit::Commands::BasicCommand
- Inherits:
-
Object
- Object
- Zomgit::Commands::BasicCommand
- Defined in:
- lib/zomgit/commands.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(arguments = [], options = {}) ⇒ BasicCommand
constructor
A new instance of BasicCommand.
Constructor Details
#initialize(arguments = [], options = {}) ⇒ BasicCommand
Returns a new instance of BasicCommand.
10 11 12 13 |
# File 'lib/zomgit/commands.rb', line 10 def initialize(arguments = [], = {}) @arguments = arguments @options = end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
8 9 10 |
# File 'lib/zomgit/commands.rb', line 8 def arguments @arguments end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/zomgit/commands.rb', line 8 def @options end |