class RubyGPG2::StatusLines::Unimplemented
Attributes
raw[R]
Public Class Methods
new(opts)
click to toggle source
# File lib/ruby_gpg2/status_lines/unimplemented.rb, line 11 def initialize(opts) @raw = opts[:raw] end
parse(line)
click to toggle source
# File lib/ruby_gpg2/status_lines/unimplemented.rb, line 4 def self.parse(line) new(raw: line) end
Public Instance Methods
==(other)
click to toggle source
# File lib/ruby_gpg2/status_lines/unimplemented.rb, line 19 def ==(other) other.class == self.class && other.state == state end
type()
click to toggle source
# File lib/ruby_gpg2/status_lines/unimplemented.rb, line 15 def type :unknown end
Protected Instance Methods
state()
click to toggle source
# File lib/ruby_gpg2/status_lines/unimplemented.rb, line 25 def state [ @raw ] end