Class: Loudness

Inherits:
Object
  • Object
show all
Defined in:
lib/echonest/element/loudness.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(time, value) ⇒ Loudness

Returns a new instance of Loudness.



4
5
6
7
# File 'lib/echonest/element/loudness.rb', line 4

def initialize(time, value)
  @time = time
  @value = value
end

Instance Attribute Details

#timeObject (readonly)

Returns the value of attribute time.



2
3
4
# File 'lib/echonest/element/loudness.rb', line 2

def time
  @time
end

#valueObject (readonly)

Returns the value of attribute value.



2
3
4
# File 'lib/echonest/element/loudness.rb', line 2

def value
  @value
end