Method: TechnicalAnalysis::TrixValue#to_hash
- Defined in:
- lib/technical_analysis/indicators/trix.rb
#to_hash ⇒ Hash
Returns the attributes as a hash.
122 123 124 |
# File 'lib/technical_analysis/indicators/trix.rb', line 122 def to_hash { date_time: @date_time, trix: @trix } end |