Sha256: b17eea3c1ba662c9f488c842a0eb538a2735c193e49c8778614ef43015ffc271
Contents?: true
Size: 393 Bytes
Versions: 8
Compression:
Stored size: 393 Bytes
Contents
module Echonest module TraditionalApiMethods def self.included(c) %w/tempo duration end_of_fade_in key loudness mode start_of_fade_out time_signature bars beats sections tatums segments/. each do |method| c.module_eval %Q{ def get_%s(filename) track.analysis(filename).%s end } % [method, method] end end end end
Version data entries
8 entries across 8 versions & 2 rubygems