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:
commit
605559bd37
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue