Class: Musk::Track
- Inherits:
-
Object
- Object
- Musk::Track
- Defined in:
- lib/musk/track.rb
Constant Summary collapse
- ATTRIBUTES =
[ :loadpath, :fullpath, :title, :position_number, :positions_count, :artist, :release, :genre, :year, :comment, ]
Instance Method Summary collapse
Instance Method Details
#attributes ⇒ Object
18 19 20 |
# File 'lib/musk/track.rb', line 18 def attributes Hash[ATTRIBUTES.map { |a| [a, send("#{a}")] }] end |