Module: IsoDoc::Ietf::Init
- Included in:
- RfcConvert
- Defined in:
- lib/isodoc/ietf/init.rb
Instance Method Summary collapse
Instance Method Details
#fileloc(loc) ⇒ Object
12 13 14 |
# File 'lib/isodoc/ietf/init.rb', line 12 def fileloc(loc) File.join(File.dirname(__FILE__), loc) end |
#i18n_init(lang, script, locale, i18nyaml = nil) ⇒ Object
7 8 9 10 |
# File 'lib/isodoc/ietf/init.rb', line 7 def i18n_init(lang, script, locale, i18nyaml = nil) @i18n = I18n.new(lang, script, locale: locale, i18nyaml: i18nyaml || @i18nyaml) end |