Class: Svnx::Base::CommandParams

Inherits:
Object
  • Object
show all
Defined in:
lib/svnx/base/command_factory.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options: nil, subcommand: nil) ⇒ CommandParams

Returns a new instance of CommandParams.



12
13
14
15
# File 'lib/svnx/base/command_factory.rb', line 12

def initialize options: nil, subcommand: nil
  @options = options
  @subcommand = subcommand
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



9
10
11
# File 'lib/svnx/base/command_factory.rb', line 9

def options
  @options
end

#subcommandObject (readonly)

Returns the value of attribute subcommand.



10
11
12
# File 'lib/svnx/base/command_factory.rb', line 10

def subcommand
  @subcommand
end