Class: Ucode::Parsers::DerivedAge::Tuple
- Inherits:
-
Struct
- Object
- Struct
- Ucode::Parsers::DerivedAge::Tuple
- Defined in:
- lib/ucode/parsers/derived_age.rb
Overview
Lightweight record yielded by ‘.each_record`. Models are heavyweight for stream-only data — the Coordinator consumes these immediately.
Instance Attribute Summary collapse
-
#age ⇒ Object
Returns the value of attribute age.
-
#cp ⇒ Object
Returns the value of attribute cp.
Instance Method Summary collapse
Instance Attribute Details
#age ⇒ Object
Returns the value of attribute age
23 24 25 |
# File 'lib/ucode/parsers/derived_age.rb', line 23 def age @age end |
#cp ⇒ Object
Returns the value of attribute cp
23 24 25 |
# File 'lib/ucode/parsers/derived_age.rb', line 23 def cp @cp end |
Instance Method Details
#cp_id ⇒ Object
24 25 26 |
# File 'lib/ucode/parsers/derived_age.rb', line 24 def cp_id format("U+%04X", cp) end |