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

### Home Classes Methods

### In Files

- lib/locale/driver/env.rb

### Methods

- #parse

### Class/Module Index

Quicksearch

- Locale
- Locale::Driver
- Locale::Driver::CGI
- Locale::Driver::Env
- Locale::Driver::Env::Private
- Locale::Driver::JRuby
- Locale::Driver::Posix
- Locale::Driver::Win32
- Locale::Driver::Win32::Kernel32
- Locale::Driver::Win32Table
- Locale::Info
- Locale::Info::Language
- Locale::Info::Region
- Locale::Middleware
- Locale::Tag
- Locale::Tag::Cldr
- Locale::Tag::Common
- Locale::Tag::Irregular
- Locale::Tag::Posix
- Locale::Tag::Rfc
- Locale::Tag::Simple
- Locale::TagList

No matching classes.

# Locale::Driver::Env::Private

### Public Instance Methods

parse(env_value) click to toggle source

    # File lib/locale/driver/env.rb, line 85
    def parse(env_value)
      return nil if env_value.nil?
      return nil if env_value.empty?
      Locale::Tag::Posix.parse(env_value)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.