Sha256: fb32aecd415be6fadd1ad2984e5c3d5134d759f94e52a1fb628f1cc55aa8594e

Contents?: true

Size: 271 Bytes

Versions: 14

Compression:

Stored size: 271 Bytes

Contents

# encoding: UTF-8
#
# Base class for Parsers
#
class Sqed::Parser

  attr_accessor :image

  attr_accessor :extracted_text

  def initialize(image)
    @image = image
    raise 'no image provided to parser' if @image && !(@image.class.name == 'Magick::Image')
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
sqed-0.5.8 lib/sqed/parser.rb
sqed-0.5.7 lib/sqed/parser.rb
sqed-0.5.6 lib/sqed/parser.rb
sqed-0.5.5 lib/sqed/parser.rb
sqed-0.5.4 lib/sqed/parser.rb
sqed-0.5.3 lib/sqed/parser.rb
sqed-0.5.2 lib/sqed/parser.rb
sqed-0.5.1 lib/sqed/parser.rb
sqed-0.5.0 lib/sqed/parser.rb
sqed-0.4.4 lib/sqed/parser.rb
sqed-0.4.3 lib/sqed/parser.rb
sqed-0.4.2 lib/sqed/parser.rb
sqed-0.4.1 lib/sqed/parser.rb
sqed-0.4.0 lib/sqed/parser.rb