Class: Linguist::Source::RuggedRepository::Diff::Delta

Inherits:
Diff::Delta
  • Object
show all
Defined in:
lib/linguist/source/rugged.rb

Instance Method Summary collapse

Constructor Details

#initialize(rugged_delta) ⇒ Delta

Returns a new instance of Delta.



13
14
15
# File 'lib/linguist/source/rugged.rb', line 13

def initialize(rugged_delta)
  @delta = rugged_delta
end

Instance Method Details

#binary?Boolean

Returns:

  • (Boolean)


19
# File 'lib/linguist/source/rugged.rb', line 19

def binary?; @delta.binary; end

#new_fileObject



23
# File 'lib/linguist/source/rugged.rb', line 23

def new_file; @delta.new_file; end

#old_fileObject



21
# File 'lib/linguist/source/rugged.rb', line 21

def old_file; @delta.old_file; end

#statusObject



17
# File 'lib/linguist/source/rugged.rb', line 17

def status; @delta.status; end