Class: Zomgit::Commands::BasicCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/zomgit/commands.rb

Direct Known Subclasses

FindCommand, StatusCommand

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = [], options = {})
  @arguments = arguments
  @options = options
end

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments.



8
9
10
# File 'lib/zomgit/commands.rb', line 8

def arguments
  @arguments
end

#optionsObject (readonly)

Returns the value of attribute options.



8
9
10
# File 'lib/zomgit/commands.rb', line 8

def options
  @options
end