Class: Ace::B36ts::Atoms::FormatSpecs::FormatSpec

Inherits:
Data
  • Object
show all
Defined in:
lib/ace/b36ts/atoms/format_specs.rb

Overview

Immutable value object defining a timestamp format specification

Instance Attribute Summary collapse

Instance Attribute Details

#lengthObject (readonly)

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



27
28
29
# File 'lib/ace/b36ts/atoms/format_specs.rb', line 27

def length
  @length
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



27
28
29
# File 'lib/ace/b36ts/atoms/format_specs.rb', line 27

def name
  @name
end

#patternObject (readonly)

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



27
28
29
# File 'lib/ace/b36ts/atoms/format_specs.rb', line 27

def pattern
  @pattern
end

#precision_descObject (readonly)

Returns the value of attribute precision_desc

Returns:

  • (Object)

    the current value of precision_desc



27
28
29
# File 'lib/ace/b36ts/atoms/format_specs.rb', line 27

def precision_desc
  @precision_desc
end