Sha256: f4933699a43b7820f6fc1a1acd424e6fd90e23471806a08b7b34e32851f74714

Contents?: true

Size: 422 Bytes

Versions: 4

Compression:

Stored size: 422 Bytes

Contents

require 'pdf_ravager/field_types/acro_form'
require 'pdf_ravager/field_types/xfa'

module PDFRavager
  module Fields
    class Text
      include FieldTypes::AcroForm
      include FieldTypes::XFA

      attr_reader :name, :value

      def initialize(name, value)
        @name, @value = name, value
      end

      def ==(other)
        self.name == other.name && self.value == other.value
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pdf_ravager-0.2.2 lib/pdf_ravager/fields/text.rb
pdf_ravager-0.2.1 lib/pdf_ravager/fields/text.rb
pdf_ravager-0.2.0 lib/pdf_ravager/fields/text.rb
pdf_ravager-0.1.0 lib/pdf_ravager/fields/text.rb