Module: BigBand::Sass::Functions
- Defined in:
- lib/big_band/sass.rb
Instance Method Summary collapse
Instance Method Details
#max(*args) ⇒ Object
21 22 23 |
# File 'lib/big_band/sass.rb', line 21 def max(*args) args.max { |a, b| a.value <=> b.value } end |
#min(*args) ⇒ Object
17 18 19 |
# File 'lib/big_band/sass.rb', line 17 def min(*args) args.min { |a, b| a.value <=> b.value } end |