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, line 102
def initialize(name)
  super()
  @name = name
end

Public Instance Methods

guess(text, meta) click to toggle source

prints information to the $stderr.

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