Method: TechnicalAnalysis::EomValue#to_hash

Defined in:
lib/technical_analysis/indicators/eom.rb

#to_hashHash

Returns the attributes as a hash.

Returns:

  • (Hash)

    the attributes as a hash



99
100
101
# File 'lib/technical_analysis/indicators/eom.rb', line 99

def to_hash
  { date_time: @date_time, eom: @eom }
end