1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Merge branch 'master' into yard

This commit is contained in:
Nathan Weizenbaum 2009-04-24 01:13:14 -07:00
commit 605559bd37

View file

@ -77,17 +77,17 @@ module Sass::Script
end
def gte(other)
raise NoMethodError.new(nil, :gt) unless other.is_a?(Number)
raise NoMethodError.new(nil, :gte) unless other.is_a?(Number)
operate(other, :>=)
end
def lt(other)
raise NoMethodError.new(nil, :gt) unless other.is_a?(Number)
raise NoMethodError.new(nil, :lt) unless other.is_a?(Number)
operate(other, :<)
end
def lte(other)
raise NoMethodError.new(nil, :gt) unless other.is_a?(Number)
raise NoMethodError.new(nil, :lte) unless other.is_a?(Number)
operate(other, :<=)
end