Class: SVNx::CommandArgs

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = Hash.new) ⇒ CommandArgs

Returns a new instance of CommandArgs.



49
50
51
# File 'lib/svnx/base/command.rb', line 49

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

Instance Attribute Details

#pathObject

Returns the value of attribute path.



47
48
49
# File 'lib/svnx/base/command.rb', line 47

def path
  @path
end

Instance Method Details

#to_aObject



53
54
55
# File 'lib/svnx/base/command.rb', line 53

def to_a
  [ @path ].compact
end