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.



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

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

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



350
351
352
# File 'lib/tzinfo/tzdataparser.rb', line 350

def name
  @name
end

Instance Method Details

#countObject



356
357
358
# File 'lib/tzinfo/tzdataparser.rb', line 356

def count
  0
end