Sha256: fe3e5ea377924b69bad3f60f852d4b50f1008085951851baa39bfd6238951547

Contents?: true

Size: 504 Bytes

Versions: 4

Compression:

Stored size: 504 Bytes

Contents

require 'stringio'

class Tracksperanto::Import::Base
  include Tracksperanto::Safety
  
  # The original width of the tracked image
  # Some importers need it
  attr_accessor :width
  
  # The original height of the original image.
  # Some importers need it
  attr_accessor :height
  safe_reader :width, :height
  
  def self.inherited(by)
    Tracksperanto.importers << by
    super
  end
  
  # Should return an array of Tracksperanto::Tracker objects
  def parse(track_file_content)
    []
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tracksperanto-1.0.4 lib/import/base.rb
tracksperanto-1.0.2 lib/import/base.rb
tracksperanto-1.0.1 lib/import/base.rb
tracksperanto-1.0.0 lib/import/base.rb