Module: ActsAsBookable::T
- Defined in:
- lib/acts_as_bookable/t.rb
Class Method Summary collapse
Class Method Details
.er(message, opts = {}) ⇒ Object
7 8 9 |
# File 'lib/acts_as_bookable/t.rb', line 7 def self.er(, opts={}) self.t('errors.messages.' + , opts) end |
.t(message, opts = {}) ⇒ Object
3 4 5 |
# File 'lib/acts_as_bookable/t.rb', line 3 def self.t(, opts={}) I18n.t('.acts_as_bookable.' + , opts) end |