module Comable
TODO: Deprecated itself!
Constants
- Config
Public Class Methods
app_name()
click to toggle source
# File lib/comable_core.rb, line 36 def app_name 'Comable' end
homepage()
click to toggle source
# File lib/comable_core.rb, line 40 def homepage 'https://github.com/appirits/comable#comable' end
license()
click to toggle source
# File lib/comable_core.rb, line 44 def license 'https://github.com/appirits/comable/blob/master/MIT-LICENSE' end
setup() { |Config| ... }
click to toggle source
# File lib/comable_core.rb, line 26 def setup(&_) yield Comable::Config end
translate(key, options = {})
click to toggle source
# File lib/comable_core.rb, line 30 def translate(key, options = {}) I18n.translate("comable.#{key}", options) end
Also aliased as: t