Class: SvnCommandHelper::Svn::ListItem

Inherits:
Object
  • Object
show all
Defined in:
lib/svn_command_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kind:, path:, revision:, author:, date:) ⇒ ListItem

Returns a new instance of ListItem.



56
57
58
59
60
61
62
# File 'lib/svn_command_helper.rb', line 56

def initialize(kind:, path:, revision:, author:, date:)
  @kind = kind
  @path = path
  @revision = revision
  @author = author
  @date = date
end

Instance Attribute Details

#authorObject (readonly)

Returns the value of attribute author.



55
56
57
# File 'lib/svn_command_helper.rb', line 55

def author
  @author
end

#dateObject (readonly)

Returns the value of attribute date.



55
56
57
# File 'lib/svn_command_helper.rb', line 55

def date
  @date
end

#kindObject (readonly)

Returns the value of attribute kind.



55
56
57
# File 'lib/svn_command_helper.rb', line 55

def kind
  @kind
end

#pathObject (readonly)

Returns the value of attribute path.



55
56
57
# File 'lib/svn_command_helper.rb', line 55

def path
  @path
end

#revisionObject (readonly)

Returns the value of attribute revision.



55
56
57
# File 'lib/svn_command_helper.rb', line 55

def revision
  @revision
end