Class: SVNx::CommandArgs

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = Hash.new) ⇒ CommandArgs

Returns a new instance of CommandArgs.



45
46
47
# File 'lib/svnx/command.rb', line 45

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

Instance Attribute Details

#pathObject

Returns the value of attribute path.



43
44
45
# File 'lib/svnx/command.rb', line 43

def path
  @path
end

Instance Method Details

#to_aObject



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

def to_a
  [ @path ].compact
end