Module: GettextSwap
- Defined in:
- lib/gettext_swap.rb,
lib/gettext_swap/version.rb,
lib/gettext_swap/exceptions.rb,
lib/gettext_swap/configuration.rb,
lib/gettext_swap/swapper_repository.rb
Defined Under Namespace
Modules: FastGettextPatch
Classes: Configuration, Exception, SwapperRepository
Constant Summary
collapse
- VERSION =
'0.1.0'.freeze
Class Method Summary
collapse
Class Method Details
46
47
48
49
|
# File 'lib/gettext_swap/configuration.rb', line 46
def configure(path_to_yaml)
yaml = YAML.load(IO.read(path_to_yaml))
configuration.read_yaml(yaml)
end
|
.rules ⇒ Object
42
43
44
|
# File 'lib/gettext_swap/configuration.rb', line 42
def rules
configuration.rules
end
|