Module: RemoteI18nExtensionHcc

Defined in:
lib/remote-I18n-extension-hcc.rb,
lib/remote-I18n-extension-hcc/version.rb,
lib/remote-I18n-extension-hcc/backend/remote.rb,
lib/generators/remote-I18n-extension-hcc/install_generator.rb

Defined Under Namespace

Modules: Backend Classes: InstallGenerator

Constant Summary collapse

VERSION =
'1.0.5'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.available_localesObject

Returns the value of attribute available_locales.



11
12
13
# File 'lib/remote-I18n-extension-hcc.rb', line 11

def available_locales
  @available_locales
end

.load_pathObject

Returns the value of attribute load_path.



11
12
13
# File 'lib/remote-I18n-extension-hcc.rb', line 11

def load_path
  @load_path
end

.localeObject

Returns the value of attribute locale.



11
12
13
# File 'lib/remote-I18n-extension-hcc.rb', line 11

def locale
  @locale
end

.remote_hostObject

Returns the value of attribute remote_host.



12
13
14
# File 'lib/remote-I18n-extension-hcc.rb', line 12

def remote_host
  @remote_host
end

Class Method Details

.config {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



14
15
16
# File 'lib/remote-I18n-extension-hcc.rb', line 14

def config
  yield self
end

.translate(*args) ⇒ Object Also known as: t



30
31
32
# File 'lib/remote-I18n-extension-hcc.rb', line 30

def translate(*args)
  I18n.t(*args)
end