Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/amelia/active_support/core_ext/core_ext.rb
Instance Method Summary collapse
- #internationalization(virtual_path = nil) ⇒ Object
- #translate_false ⇒ Object
-
#translate_flag? ⇒ Boolean
alias :i18n :internationalization.
Instance Method Details
#internationalization(virtual_path = nil) ⇒ Object
5 6 7 |
# File 'lib/amelia/active_support/core_ext/core_ext.rb', line 5 def internationalization virtual_path = nil self end |
#translate_false ⇒ Object
14 15 16 17 |
# File 'lib/amelia/active_support/core_ext/core_ext.rb', line 14 def translate_false @translate_flag = false self end |
#translate_flag? ⇒ Boolean
alias :i18n :internationalization
11 12 13 |
# File 'lib/amelia/active_support/core_ext/core_ext.rb', line 11 def translate_flag? true end |