Class: AnalDiffist::InvertedDiff
- Inherits:
-
Object
- Object
- AnalDiffist::InvertedDiff
- Defined in:
- lib/analdiffist/flog_parser.rb
Instance Method Summary collapse
- #context ⇒ Object
- #description(mode = :added) ⇒ Object
-
#initialize(inner) ⇒ InvertedDiff
constructor
A new instance of InvertedDiff.
- #score ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(inner) ⇒ InvertedDiff
Returns a new instance of InvertedDiff.
71 72 73 |
# File 'lib/analdiffist/flog_parser.rb', line 71 def initialize inner @inner = inner end |
Instance Method Details
#context ⇒ Object
75 76 77 |
# File 'lib/analdiffist/flog_parser.rb', line 75 def context @inner.context end |
#description(mode = :added) ⇒ Object
87 88 89 |
# File 'lib/analdiffist/flog_parser.rb', line 87 def description(mode = :added) @inner.description(mode) end |
#score ⇒ Object
79 80 81 |
# File 'lib/analdiffist/flog_parser.rb', line 79 def score 0-@inner.score end |
#type ⇒ Object
83 84 85 |
# File 'lib/analdiffist/flog_parser.rb', line 83 def type @inner.type end |