Class: Redmine::Scm::Adapters::Info
- Inherits:
-
Object
- Object
- Redmine::Scm::Adapters::Info
- Defined in:
- lib/redmine/scm/adapters/abstract_adapter.rb
Instance Attribute Summary (collapse)
-
- (Object) lastrev
Returns the value of attribute lastrev.
-
- (Object) root_url
Returns the value of attribute root_url.
Instance Method Summary (collapse)
-
- (Info) initialize(attributes = {})
constructor
A new instance of Info.
Constructor Details
- (Info) initialize(attributes = {})
A new instance of Info
220 221 222 223 |
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 220 def initialize(attributes={}) self.root_url = attributes[:root_url] if attributes[:root_url] self.lastrev = attributes[:lastrev] end |
Instance Attribute Details
- (Object) lastrev
Returns the value of attribute lastrev
219 220 221 |
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 219 def lastrev @lastrev end |
- (Object) root_url
Returns the value of attribute root_url
219 220 221 |
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 219 def root_url @root_url end |