Module: SimplesIdeias::I18n::Rails
- Defined in:
- lib/i18n-js_padrino.rb
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
20 21 |
# File 'lib/i18n-js_padrino.rb', line 20 def self.configuration end |
.root ⇒ Object
23 24 25 |
# File 'lib/i18n-js_padrino.rb', line 23 def self.root Pathname.new(PADRINO_ROOT) end |
.version ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/i18n-js_padrino.rb', line 5 def self.version =begin require 'padrino' unless ::Padrino.respond_to? :version if ::Padrino.version >= "0.10.3" "3.1" else "3" end =end # TODO Implement support for sprockets by setting the version to 3.1 if # sprockets is present (perhaps with padrino-sprockets?). # Will also need to define Rails.configuration.assets.enabled "0" end |