Class: IceMaker::Playlist::Icefile
- Inherits:
-
Object
- Object
- IceMaker::Playlist::Icefile
- Defined in:
- lib/icemaker/icemaker.rb
Instance Attribute Summary collapse
-
#arbitrary_file_prefix ⇒ Object
Returns the value of attribute arbitrary_file_prefix.
-
#filters ⇒ Object
Returns the value of attribute filters.
-
#formatter ⇒ Object
Returns the value of attribute formatter.
-
#is_recursive ⇒ Object
Returns the value of attribute is_recursive.
-
#output_to_file ⇒ Object
Returns the value of attribute output_to_file.
-
#sources ⇒ Object
Returns the value of attribute sources.
-
#unique ⇒ Object
Returns the value of attribute unique.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
-
#initialize ⇒ Icefile
constructor
A new instance of Icefile.
Constructor Details
#initialize ⇒ Icefile
Returns a new instance of Icefile.
122 123 124 125 126 127 128 129 130 |
# File 'lib/icemaker/icemaker.rb', line 122 def initialize @sources = [] @filters = [] @verbose = false @is_recursive = false @unique = true @arbitrary_file_prefix = '' @formatter = lambda { |track| "#{track[:file]}"} end |
Instance Attribute Details
#arbitrary_file_prefix ⇒ Object
Returns the value of attribute arbitrary_file_prefix.
119 120 121 |
# File 'lib/icemaker/icemaker.rb', line 119 def arbitrary_file_prefix @arbitrary_file_prefix end |
#filters ⇒ Object
Returns the value of attribute filters.
119 120 121 |
# File 'lib/icemaker/icemaker.rb', line 119 def filters @filters end |
#formatter ⇒ Object
Returns the value of attribute formatter.
119 120 121 |
# File 'lib/icemaker/icemaker.rb', line 119 def formatter @formatter end |
#is_recursive ⇒ Object
Returns the value of attribute is_recursive.
119 120 121 |
# File 'lib/icemaker/icemaker.rb', line 119 def is_recursive @is_recursive end |
#output_to_file ⇒ Object
Returns the value of attribute output_to_file.
119 120 121 |
# File 'lib/icemaker/icemaker.rb', line 119 def output_to_file @output_to_file end |
#sources ⇒ Object
Returns the value of attribute sources.
119 120 121 |
# File 'lib/icemaker/icemaker.rb', line 119 def sources @sources end |
#unique ⇒ Object
Returns the value of attribute unique.
119 120 121 |
# File 'lib/icemaker/icemaker.rb', line 119 def unique @unique end |
#verbose ⇒ Object
Returns the value of attribute verbose.
119 120 121 |
# File 'lib/icemaker/icemaker.rb', line 119 def verbose @verbose end |