123456789_123456789_123456789_123456789_123456789_

Class: Timezone::Parser::Config

Relationships & Source Files
Inherits: Object
Defined in: lib/timezone/parser.rb

Overview

Represents a timezone database config.

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(root) ⇒ Config

[ GitHub ]

  
# File 'lib/timezone/parser.rb', line 35

def initialize(root)
  @root = root
  @zoneinfo = File.join(@root, 'usr/share/zoneinfo')
  @zdump = File.join(@root, 'usr/bin/zdump')
end

Instance Attribute Details

#root (readonly)

[ GitHub ]

  
# File 'lib/timezone/parser.rb', line 41

attr_reader :root, :zoneinfo, :zdump

#zdump (readonly)

[ GitHub ]

  
# File 'lib/timezone/parser.rb', line 41

attr_reader :root, :zoneinfo, :zdump

#zoneinfo (readonly)

[ GitHub ]

  
# File 'lib/timezone/parser.rb', line 41

attr_reader :root, :zoneinfo, :zdump