module TextHyphenRails::ActiveRecordExtension

Private Instance Methods

_thr_lang(opts) click to toggle source
# File lib/text_hyphen_rails/active_record_extension.rb, line 52
def _thr_lang(opts)
  if opts[:lang_att]
    self.send(opts[:lang_att])
  else
    opts[:lang]
  end
end