Module: Gaigo

Defined in:
lib/gaigo/engine.rb,
lib/gaigo.rb,
lib/gaigo/langs.rb,
lib/gaigo/railtie.rb,
lib/gaigo/version.rb,
lib/gaigo/countries.rb,
lib/gaigo/utilities.rb,
lib/gaigo/has_locale.rb,
lib/gaigo/i18n_extend.rb,
lib/gaigo/library/langs.rb,
lib/gaigo/models/naming.rb,
lib/gaigo/models/localized.rb,
lib/gaigo/library/countries.rb,
lib/gaigo/helpers/form_helper_v3.rb,
lib/gaigo/helpers/form_helper_v4.rb,
lib/gaigo/i18n_extend/try_translate.rb,
lib/gaigo/helpers/form_helper_v4/tags.rb,
lib/gaigo/helpers/action_view_extension.rb,
lib/gaigo/models/active_record_extension.rb,
lib/gaigo/models/naming/human_model_name.rb,
lib/gaigo/models/naming/human_attribute_name.rb,
lib/gaigo/helpers/form_helper_v3/form_builder.rb,
lib/gaigo/helpers/form_helper_v3/instance_tag.rb,
lib/gaigo/helpers/form_helper_v4/form_builder.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ActionViewExtension, ActiveRecordExtension, FormHelper, FormHelperV3, FormHelperV4, HasLocale, I18nExtend, Library, Localized, Naming, Utilities Classes: Countries, Engine, Langs, Railtie

Constant Summary collapse

LANGS =
Langs.new
VERSION =
"0.0.2"
COUNTRIES =
Countries.new

Class Method Summary collapse

Class Method Details

.i18n_extend!Object



20
21
22
# File 'lib/gaigo.rb', line 20

def self.i18n_extend!
  require 'gaigo/i18n_extend'
end

.load!Object



4
5
6
7
8
9
10
# File 'lib/gaigo.rb', line 4

def self.load!
  load_langs!
  load_countries!
  i18n_extend!
  require 'gaigo/engine'
  require 'gaigo/railtie'
end

.load_countries!Object



16
17
18
# File 'lib/gaigo.rb', line 16

def self.load_countries!
  require 'gaigo/countries'
end

.load_langs!Object



12
13
14
# File 'lib/gaigo.rb', line 12

def self.load_langs!
  require 'gaigo/langs'
end