mirror of https://github.com/metafizzy/isotope
David DeSandro
14 years ago
8 changed files with 11 additions and 64 deletions
@ -0,0 +1,7 @@
|
||||
module MathFilter |
||||
def modulus(input, operand) |
||||
to_number(input) % to_number(operand) |
||||
end |
||||
end |
||||
|
||||
Liquid::Template.register_filter(MathFilter) |
Loading…
Reference in new issue