Class: Musk::Formatter::CSV
- Inherits:
-
Base
- Object
- Base
- Musk::Formatter::CSV
show all
- Defined in:
- lib/musk/formatter/csv.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Class Method Details
.print(tracks) ⇒ Object
4
5
6
|
# File 'lib/musk/formatter/csv.rb', line 4
def self.print(tracks)
new(tracks).print
end
|
Instance Method Details
#print ⇒ Object
8
9
10
|
# File 'lib/musk/formatter/csv.rb', line 8
def print
@tracks.each { |t| puts printed(t) }
end
|