instance method load_yml

Ruby on Rails 2.2.3

Last seen in v2.2.3

Signature

load_yml(filename)

Loads a YAML translations file. The data must have locales as toplevel keys.

Parameters

filename req
Source
# File activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb, line 190
        def load_yml(filename)
          YAML::load(IO.read(filename))
        end

Defined in activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb line 190 · View on GitHub · Improve this page · Find usages on GitHub

Defined in I18n::Backend::Simple

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close