Module: Sass::More

Defined in:
lib/sass/more.rb

Instance Method Summary collapse

Instance Method Details

#max(*args) ⇒ Object



11
12
13
# File 'lib/sass/more.rb', line 11

def max(*args)
  args.max { |a, b| a.value <=> b.value }
end

#min(*args) ⇒ Object



7
8
9
# File 'lib/sass/more.rb', line 7

def min(*args)
  args.min { |a, b| a.value <=> b.value }
end