Class: IceMaker::Playlist::Icefile

Inherits:
Object
  • Object
show all
Defined in:
lib/icemaker/icemaker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeIcefile

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_prefixObject

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

#filtersObject

Returns the value of attribute filters.



119
120
121
# File 'lib/icemaker/icemaker.rb', line 119

def filters
  @filters
end

#formatterObject

Returns the value of attribute formatter.



119
120
121
# File 'lib/icemaker/icemaker.rb', line 119

def formatter
  @formatter
end

#is_recursiveObject

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_fileObject

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

#sourcesObject

Returns the value of attribute sources.



119
120
121
# File 'lib/icemaker/icemaker.rb', line 119

def sources
  @sources
end

#uniqueObject

Returns the value of attribute unique.



119
120
121
# File 'lib/icemaker/icemaker.rb', line 119

def unique
  @unique
end

#verboseObject

Returns the value of attribute verbose.



119
120
121
# File 'lib/icemaker/icemaker.rb', line 119

def verbose
  @verbose
end