module RailsI18n::Pluralization::Lithuanian

def self.rule

def self.rule
  lambda do |n|
    return :other unless n.is_a?(Numeric)
    mod10 = n % 10
    mod100 = n % 100
    if mod10 == 1 && !(11..19).to_a.include?(mod100)
      :one
    elsif (2..9).to_a.include?(mod10) && !(11..19).to_a.include?(mod100)
      :few
    else
      :other
    end
  end
end