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