Class: Svnx::Base::CommandParams
- Inherits:
-
Object
- Object
- Svnx::Base::CommandParams
- Defined in:
- lib/svnx/base/command_factory.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#subcommand ⇒ Object
readonly
Returns the value of attribute subcommand.
Instance Method Summary collapse
-
#initialize(options: nil, subcommand: nil) ⇒ CommandParams
constructor
A new instance of CommandParams.
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 = @subcommand = subcommand end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
9 10 11 |
# File 'lib/svnx/base/command_factory.rb', line 9 def @options end |
#subcommand ⇒ Object (readonly)
Returns the value of attribute subcommand.
10 11 12 |
# File 'lib/svnx/base/command_factory.rb', line 10 def subcommand @subcommand end |