Class: TwitterCldr::Formatters::Rbnf::ProperFractionRuleFormatter
- Inherits:
-
MasterRuleFormatter
- Object
- NormalRuleFormatter
- MasterRuleFormatter
- TwitterCldr::Formatters::Rbnf::ProperFractionRuleFormatter
- 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
Methods inherited from NormalRuleFormatter
#decimal, #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
224 225 226 |
# File 'lib/twitter_cldr/formatters/numbers/rbnf/formatters.rb', line 224 def close_bracket(number, rule, token) raise invalid_token_error(token) end |
#open_bracket(number, rule, token) ⇒ Object
220 221 222 |
# File 'lib/twitter_cldr/formatters/numbers/rbnf/formatters.rb', line 220 def open_bracket(number, rule, token) raise invalid_token_error(token) end |