Class: TZInfo::TZDataRules

Inherits:
Object
  • Object
show all
Defined in:
lib/tzinfo/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.



348
349
350
# File 'lib/tzinfo/tzdataparser.rb', line 348

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

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



346
347
348
# File 'lib/tzinfo/tzdataparser.rb', line 346

def name
  @name
end

Instance Method Details

#countObject



352
353
354
# File 'lib/tzinfo/tzdataparser.rb', line 352

def count
  0
end