Class: Ace::B36ts::Atoms::FormatSpecs::FormatSpec
- Inherits:
-
Data
- Object
- Data
- Ace::B36ts::Atoms::FormatSpecs::FormatSpec
- Defined in:
- lib/ace/b36ts/atoms/format_specs.rb
Overview
Immutable value object defining a timestamp format specification
Instance Attribute Summary collapse
-
#length ⇒ Object
readonly
Returns the value of attribute length.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#pattern ⇒ Object
readonly
Returns the value of attribute pattern.
-
#precision_desc ⇒ Object
readonly
Returns the value of attribute precision_desc.
Instance Attribute Details
#length ⇒ Object (readonly)
Returns the value of attribute length
27 28 29 |
# File 'lib/ace/b36ts/atoms/format_specs.rb', line 27 def length @length end |
#name ⇒ Object (readonly)
Returns the value of attribute name
27 28 29 |
# File 'lib/ace/b36ts/atoms/format_specs.rb', line 27 def name @name end |
#pattern ⇒ Object (readonly)
Returns the value of attribute pattern
27 28 29 |
# File 'lib/ace/b36ts/atoms/format_specs.rb', line 27 def pattern @pattern end |
#precision_desc ⇒ Object (readonly)
Returns the value of attribute precision_desc
27 28 29 |
# File 'lib/ace/b36ts/atoms/format_specs.rb', line 27 def precision_desc @precision_desc end |