Class: Furigana::Formatter::Text
- Defined in:
- lib/furigana/formatter/text.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Furigana::Formatter::Base
Instance Method Details
#replacement(surface_form, reading) ⇒ Object
4 5 6 |
# File 'lib/furigana/formatter/text.rb', line 4 def replacement(surface_form, reading) "%s【%s】" % [surface_form, reading] end |