Class: TZInfo::Data::TZDataRules

Inherits:
Object
  • Object
show all
Defined in:
lib/tzinfo/data/tzdataparser.rb

Overview

Base class for all rule sets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ TZDataRules

Returns a new instance of TZDataRules.



418
419
420
# File 'lib/tzinfo/data/tzdataparser.rb', line 418

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Name of the rule set, e.g. EU.



416
417
418
# File 'lib/tzinfo/data/tzdataparser.rb', line 416

def name
  @name
end

Instance Method Details

#countObject



422
423
424
# File 'lib/tzinfo/data/tzdataparser.rb', line 422

def count
  0
end