Module: Locale::Driver::Env::Private

Defined in:
lib/locale/driver/env.rb

Class Method Summary collapse

Class Method Details

.parse(env_value) ⇒ Object



87
88
89
90
91
# File 'lib/locale/driver/env.rb', line 87

def parse(env_value)
  return nil if env_value.nil?
  return nil if env_value.empty?
  Locale::Tag::Posix.parse(env_value)
end