Class: TextHyphenRails::Hyphenator

Inherits:
Object
  • Object
show all
Defined in:
lib/text_hyphen_rails/hyphenator.rb

Direct Known Subclasses

HtmlHyphenator, TextHyphenator

Instance Method Summary collapse

Constructor Details

#initialize(text, lang, options) ⇒ Hyphenator

Returns a new instance of Hyphenator.



5
6
7
8
# File 'lib/text_hyphen_rails/hyphenator.rb', line 5

def initialize(text, lang, options)
  @opts = options
  @lang = lang
end