module GettextSwap

Constants

VERSION

Public Class Methods

configure(path_to_yaml) click to toggle source
# 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() click to toggle source
# File lib/gettext_swap/configuration.rb, line 42
def rules
  configuration.rules
end

Private Class Methods

configuration() click to toggle source
# File lib/gettext_swap/configuration.rb, line 53
def configuration
  @configuration ||= Configuration.new
end