Class: Nwiki::Core::Diff
- Inherits:
-
Object
- Object
- Nwiki::Core::Diff
- Extended by:
- Forwardable
- Defined in:
- lib/nwiki/core/git_access.rb
Instance Attribute Summary collapse
-
#time ⇒ Object
readonly
Returns the value of attribute time.
Instance Method Summary collapse
-
#initialize(entry, time) ⇒ Diff
constructor
A new instance of Diff.
Constructor Details
#initialize(entry, time) ⇒ Diff
Returns a new instance of Diff.
28 29 30 31 |
# File 'lib/nwiki/core/git_access.rb', line 28 def initialize entry, time @entry = entry @time = time end |
Instance Attribute Details
#time ⇒ Object (readonly)
Returns the value of attribute time.
26 27 28 |
# File 'lib/nwiki/core/git_access.rb', line 26 def time @time end |