Class: Linguist::Source::RuggedRepository::Diff::Delta
- Inherits:
-
Diff::Delta
- Object
- Diff::Delta
- Linguist::Source::RuggedRepository::Diff::Delta
- Defined in:
- lib/linguist/source/rugged.rb
Instance Method Summary collapse
- #binary? ⇒ Boolean
-
#initialize(rugged_delta) ⇒ Delta
constructor
A new instance of Delta.
- #new_file ⇒ Object
- #old_file ⇒ Object
- #status ⇒ Object
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
19 |
# File 'lib/linguist/source/rugged.rb', line 19 def binary?; @delta.binary; end |
#new_file ⇒ Object
23 |
# File 'lib/linguist/source/rugged.rb', line 23 def new_file; @delta.new_file; end |
#old_file ⇒ Object
21 |
# File 'lib/linguist/source/rugged.rb', line 21 def old_file; @delta.old_file; end |
#status ⇒ Object
17 |
# File 'lib/linguist/source/rugged.rb', line 17 def status; @delta.status; end |