Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mojombo/chronic
Browse files Browse the repository at this point in the history
  • Loading branch information
leejarvis committed Jan 24, 2013
2 parents e86d794 + 11dc6e9 commit f418252
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/chronic/span.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def to_s
'(' << self.begin.to_s << '..' << self.end.to_s << ')'
end

alias :cover? :include? unless RUBY_VERSION =~ /^1.9/
alias :cover? :include? if RUBY_VERSION =~ /^1.8/

end
end
end

0 comments on commit f418252

Please sign in to comment.