Class: Tracksperanto::Import::MatchMover
- Inherits:
-
Base
- Object
- Base
- Tracksperanto::Import::MatchMover
show all
- Defined in:
- lib/import/match_mover.rb
Instance Attribute Summary
Attributes inherited from Base
#height, #io, #progress_block, #width
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
inherited, known_snags, #report_progress
Methods included from BlockInit
#initialize
Methods included from ZipTuples
#zip_curve_tuples
Methods included from ConstName
#const_name, included
Methods included from Safety
included, #safe_reader
Methods included from Casts
#cast_to_bool, #cast_to_float, #cast_to_int, #cast_to_string, included
Class Method Details
.autodetects_size? ⇒ Boolean
4
5
6
|
# File 'lib/import/match_mover.rb', line 4
def self.autodetects_size?
true
end
|
.distinct_file_ext ⇒ Object
12
13
14
|
# File 'lib/import/match_mover.rb', line 12
def self.distinct_file_ext
".rz2"
end
|
.human_name ⇒ Object
8
9
10
|
# File 'lib/import/match_mover.rb', line 8
def self.human_name
"MatchMover REALVIZ Ascii Point Tracks .rz2 file"
end
|
Instance Method Details
#each ⇒ Object
16
17
18
19
20
|
# File 'lib/import/match_mover.rb', line 16
def each
detect_format(@io)
raise "No tracker data after detecting format" if @io.eof?
(@io) { |t| yield(t) }
end
|