Class: Bio::FlatFile::AutoDetect::RuleDebug
- Inherits:
-
RuleTemplate
- Object
- RuleTemplate
- Bio::FlatFile::AutoDetect::RuleDebug
- Defined in:
- lib/bio/io/flatfile/autodetection.rb
Overview
RuleDebug is a class for debugging autodetect classes/methods
Instance Attribute Summary
Attributes inherited from RuleTemplate
#dbclasses, #higher_priority_elements, #lower_priority_elements, #name
Instance Method Summary collapse
-
#guess(text, meta) ⇒ Object
prints information to the $stderr.
-
#initialize(name) ⇒ RuleDebug
constructor
Creates a new instance.
Methods inherited from RuleTemplate
Constructor Details
#initialize(name) ⇒ RuleDebug
Creates a new instance.
102 103 104 105 |
# File 'lib/bio/io/flatfile/autodetection.rb', line 102 def initialize(name) super() @name = name end |
Instance Method Details
#guess(text, meta) ⇒ Object
prints information to the $stderr.
108 109 110 111 112 113 |
# File 'lib/bio/io/flatfile/autodetection.rb', line 108 def guess(text, ) $stderr.puts @name $stderr.puts text.inspect $stderr.puts .inspect nil end |