Class: Tracksperanto::Import::MatchMoverRZML
- Inherits:
-
Base
- Object
- Base
- Tracksperanto::Import::MatchMoverRZML
show all
- Defined in:
- lib/import/match_mover_rzml.rb
Defined Under Namespace
Classes: Listener
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, #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_float, #cast_to_int, #cast_to_string, included
Class Method Details
.autodetects_size? ⇒ Boolean
6
7
8
|
# File 'lib/import/match_mover_rzml.rb', line 6
def self.autodetects_size?
true
end
|
.distinct_file_ext ⇒ Object
14
15
16
|
# File 'lib/import/match_mover_rzml.rb', line 14
def self.distinct_file_ext
".rzml"
end
|
.human_name ⇒ Object
10
11
12
|
# File 'lib/import/match_mover_rzml.rb', line 10
def self.human_name
"MatchMover RZML .rzml file"
end
|
Instance Method Details
#each ⇒ Object
80
81
82
83
|
# File 'lib/import/match_mover_rzml.rb', line 80
def each
cb = lambda{|e| yield(e) }
REXML::Document.parse_stream(@io, Listener.new(self, cb))
end
|