Class: SVNx::CommandArgs

Inherits:
Object
  • Object
show all
Includes:
Logue::Loggable
Defined in:
lib/svnx/base/args.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = Hash.new) ⇒ CommandArgs

Returns a new instance of CommandArgs.



16
17
18
# File 'lib/svnx/base/args.rb', line 16

def initialize args = Hash.new
  @path = args[:path]
end

Instance Attribute Details

#pathObject

Returns the value of attribute path.



14
15
16
# File 'lib/svnx/base/args.rb', line 14

def path
  @path
end

Instance Method Details

#to_aObject



20
21
22
# File 'lib/svnx/base/args.rb', line 20

def to_a
  [ @path ].compact
end