Module: Locale::Driver::Env::Private
- Defined in:
- lib/locale/driver/env.rb
Class Method Summary collapse
Class Method Details
.parse(env_value) ⇒ Object
86 87 88 89 90 |
# File 'lib/locale/driver/env.rb', line 86 def parse(env_value) return nil if env_value.nil? return nil if env_value.empty? Locale::Tag::Posix.parse(env_value) end |