Permalink
Browse files

Fix broken methods from previous commit

  • Loading branch information...
Nikolai Weibull
Nikolai Weibull committed Jul 29, 2012
1 parent fcc7fc1 commit 4dd22b4c55c5d33edd24e94c76825a8533d199da
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/lookout/diff/algorithms/difflib/position/new.rb
  2. +1 −1 lib/lookout/mock/method/arguments/any.rb
@@ -34,5 +34,5 @@ def end_before(other) self.class.new(items, self.begin...other.begin, indexes) e
def at(range) Lookout::Diff::Slice.new(items, range) end
def ==(other) super and indexes == other.indexes end
alias eql? ==
- def hash @hash ||= super ^ indexes.hash end
+ def hash; @hash ||= super ^ indexes.hash end
end
@@ -12,7 +12,7 @@ def ==(other) self.class == other.class end
def hash; self.class.hash end
# @return The receiver as a String argument list
- def to_s '*args, &block' end
+ def to_s; '*args, &block' end
# @return [Object, Array<Object>] The receiver as an array
def to_a; [self] end

0 comments on commit 4dd22b4

Please sign in to comment.