class Tracksperanto::Import::ShakeScript

Public Class Methods

distinct_file_ext() click to toggle source
# File lib/import/shake_script.rb, line 10
def self.distinct_file_ext
  ".shk"
end
human_name() click to toggle source
# File lib/import/shake_script.rb, line 6
def self.human_name
  "Shake .shk script file"
end
known_snags() click to toggle source
# File lib/import/shake_script.rb, line 14
def self.known_snags
  'Expressions in node parameters may cause parse errors or incomplete imports. ' +
  'Take care to remove expressions or nodes containing them first.'
end

Public Instance Methods

each(&blk) click to toggle source
# File lib/import/shake_script.rb, line 19
def each(&blk)
  s = Sentinel.new
  s.progress_proc = method(:report_progress)
  s.tracker_proc = blk.to_proc
  TrackExtractor.new(@io, s)
end