Method: TechnicalAnalysis::AdiValue#to_hash

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

#to_hashHash

Returns the attributes as a hash.

Returns:

  • (Hash)

    the attributes as a hash



96
97
98
# File 'lib/technical_analysis/indicators/adi.rb', line 96

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