Module: TextHyphenRails::ActiveRecordExtension::ClassMethods

Defined in:
lib/text_hyphen_rails/active_record_extension.rb

Instance Method Summary collapse

Instance Method Details

#html_hyphen(*args, **opts) ⇒ Object



17
18
19
# File 'lib/text_hyphen_rails/active_record_extension.rb', line 17

def html_hyphen(*args, **opts)
  thr_create_methods(HtmlHyphenator, args, opts)
end

#text_hyphen(*args, **opts) ⇒ Object



13
14
15
# File 'lib/text_hyphen_rails/active_record_extension.rb', line 13

def text_hyphen(*args, **opts)
  thr_create_methods(TextHyphenator, args, opts)
end