Class: SvnCommandHelper::Svn::LogItem

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(revision:, author:, date:, msg:) ⇒ LogItem

Returns a new instance of LogItem.



136
137
138
139
140
141
# File 'lib/svn_command_helper.rb', line 136

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

Instance Attribute Details

#authorObject (readonly)

Returns the value of attribute author.



135
136
137
# File 'lib/svn_command_helper.rb', line 135

def author
  @author
end

#dateObject (readonly)

Returns the value of attribute date.



135
136
137
# File 'lib/svn_command_helper.rb', line 135

def date
  @date
end

#msgObject (readonly)

Returns the value of attribute msg.



135
136
137
# File 'lib/svn_command_helper.rb', line 135

def msg
  @msg
end

#revisionObject (readonly)

Returns the value of attribute revision.



135
136
137
# File 'lib/svn_command_helper.rb', line 135

def revision
  @revision
end