class Bio::FlatFile::AutoDetect::RuleDebug

RuleDebug is a class for debugging autodetect classes/methods

Public Class Methods

new(name) click to toggle source

Creates a new instance.

    # File lib/bio/io/flatfile/autodetection.rb
102 def initialize(name)
103   super()
104   @name = name
105 end

Public Instance Methods

guess(text, meta) click to toggle source

prints information to the $stderr.

    # File lib/bio/io/flatfile/autodetection.rb
108 def guess(text, meta)
109   $stderr.puts @name
110   $stderr.puts text.inspect
111   $stderr.puts meta.inspect
112   nil
113 end