Module: UUCounter::Accessor

Defined in:
lib/uu_counter/accessor.rb

Class Method Summary collapse

Class Method Details

.get_count(path) ⇒ Object



5
6
7
8
# File 'lib/uu_counter/accessor.rb', line 5

def get_count(path)
    tracks = Track.find_by_path(path)
    return tracks.length
end