Class: Object

Inherits:
BasicObject
Defined in:
lib/amelia/active_support/core_ext/core_ext.rb

Instance Method Summary collapse

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_falseObject



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

Returns:

  • (Boolean)


11
12
13
# File 'lib/amelia/active_support/core_ext/core_ext.rb', line 11

def translate_flag?
  true
end