Sha256: b02ba8be5fc329f1d1e43fb1fc381a9d013090f017408362dcf0e2ab2cd11fa9

Contents?: true

Size: 451 Bytes

Versions: 17

Compression:

Stored size: 451 Bytes

Contents

module RubyGPG2
  module StatusLines
    class Unimplemented
      def self.parse(line)
        new(raw: line)
      end

      attr_reader(
          :raw)

      def initialize(opts)
        @raw = opts[:raw]
      end

      def type
        :unknown
      end

      def ==(other)
        other.class == self.class && other.state == state
      end

      protected

      def state
        [
            @raw
        ]
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ruby_gpg2-0.9.0.pre.6 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.9.0.pre.5 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.9.0.pre.4 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.9.0.pre.3 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.9.0.pre.2 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.9.0.pre.1 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.8.0 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.7.0.pre.1 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.6.0 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.5.0.pre.1 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.4.0 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.3.0.pre.2 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.3.0.pre.1 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.2.0 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.1.0.pre.27 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.1.0.pre.26 lib/ruby_gpg2/status_lines/unimplemented.rb
ruby_gpg2-0.1.0.pre.25 lib/ruby_gpg2/status_lines/unimplemented.rb