class TZInfo::TZDataLink
:nodoc:
@private
A tz data Link.
def initialize(name, link_to)
def initialize(name, link_to) super(name) @link_to = link_to end
def write_index_record(file)
def write_index_record(file) file.puts(" linked_timezone #{TZDataParser.quote_str(@name)}") end
def write_module(output_dir)
def write_module(output_dir) puts "writing link #{name}" create_file(output_dir) {|file| file.puts("linked_timezone #{TZDataParser.quote_str(@name)}, #{TZDataParser.quote_str(@link_to.name)}") } end