Class: TwitterCldr::Formatters::Rbnf::ProperFractionRuleFormatter

Inherits:
MasterRuleFormatter show all
Defined in:
lib/twitter_cldr/formatters/numbers/rbnf/formatters.rb

Instance Attribute Summary

Attributes inherited from NormalRuleFormatter

#is_fractional, #locale, #omit, #rule_group, #rule_set

Instance Method Summary collapse

Methods inherited from MasterRuleFormatter

#left_arrow, #right_arrow

Methods inherited from NormalRuleFormatter

#equals, #format, #generate_replacement, #initialize, #left_arrow, #plaintext, #plural, #right_arrow, #semicolon

Constructor Details

This class inherits a constructor from TwitterCldr::Formatters::Rbnf::NormalRuleFormatter

Instance Method Details

#close_bracket(number, rule, token) ⇒ Object



212
213
214
# File 'lib/twitter_cldr/formatters/numbers/rbnf/formatters.rb', line 212

def close_bracket(number, rule, token)
  raise invalid_token_error(token)
end

#open_bracket(number, rule, token) ⇒ Object



208
209
210
# File 'lib/twitter_cldr/formatters/numbers/rbnf/formatters.rb', line 208

def open_bracket(number, rule, token)
  raise invalid_token_error(token)
end