Method: TechnicalAnalysis::MiValue#to_hash

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

#to_hashHash

Returns the attributes as a hash.

Returns:

  • (Hash)

    the attributes as a hash



116
117
118
# File 'lib/technical_analysis/indicators/mi.rb', line 116

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