Class: Nwiki::Core::Diff

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/nwiki/core/git_access.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#timeObject (readonly)

Returns the value of attribute time.



26
27
28
# File 'lib/nwiki/core/git_access.rb', line 26

def time
  @time
end