Class: Perforce2Svn::Subversion::SvnCommitInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/perforce2svn/subversion/svn_repo.rb

Overview

SvnRepo

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(revision, author, timestamp, log) ⇒ SvnCommitInfo

Returns a new instance of SvnCommitInfo.



149
150
151
152
153
154
# File 'lib/perforce2svn/subversion/svn_repo.rb', line 149

def initialize(revision, author, timestamp, log)
  @revision = revision
  @author = author
  @timestamp = timestamp
  @log = log
end

Instance Attribute Details

#authorObject (readonly)

Returns the value of attribute author.



147
148
149
# File 'lib/perforce2svn/subversion/svn_repo.rb', line 147

def author
  @author
end

#logObject (readonly)

Returns the value of attribute log.



147
148
149
# File 'lib/perforce2svn/subversion/svn_repo.rb', line 147

def log
  @log
end

#revisionObject (readonly)

Returns the value of attribute revision.



147
148
149
# File 'lib/perforce2svn/subversion/svn_repo.rb', line 147

def revision
  @revision
end

#timestampObject (readonly)

Returns the value of attribute timestamp.



147
148
149
# File 'lib/perforce2svn/subversion/svn_repo.rb', line 147

def timestamp
  @timestamp
end