lib/csl/locale/term.rb in csl-1.0.0.pre7 vs lib/csl/locale/term.rb in csl-1.0.0.pre8
- old
+ new
@@ -27,10 +27,9 @@
registry[query[:name].to_s]
end
terms.detect { |t| t.match?(query) }
end
-
alias [] lookup
def lookup_modulo(query, divisor)
term = lookup(query)
return if term.nil? || !term.match_modulo?(divisor)
\ No newline at end of file