Class: TZInfo::TZDataRules
- Inherits:
-
Object
- Object
- TZInfo::TZDataRules
- Defined in:
- lib/tzinfo/tzdataparser.rb
Overview
Base class for all rule sets.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Name of the rule set, e.g.
Instance Method Summary collapse
- #count ⇒ Object
-
#initialize(name) ⇒ TZDataRules
constructor
A new instance of TZDataRules.
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
#name ⇒ Object (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
#count ⇒ Object
356 357 358 |
# File 'lib/tzinfo/tzdataparser.rb', line 356 def count 0 end |