Class: Wrap::Timestamp

Inherits:
Struct
  • Object
show all
Defined in:
lib/ejson/parser_action/wrap_types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#fractionObject

Returns the value of attribute fraction

Returns:

  • (Object)

    the current value of fraction



8
9
10
# File 'lib/ejson/parser_action/wrap_types.rb', line 8

def fraction
  @fraction
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



8
9
10
# File 'lib/ejson/parser_action/wrap_types.rb', line 8

def timestamp
  @timestamp
end