Class: RubyGPG2::StatusLines::Unimplemented
- Inherits:
-
Object
- Object
- RubyGPG2::StatusLines::Unimplemented
- Defined in:
- lib/ruby_gpg2/status_lines/unimplemented.rb
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Class Method Summary collapse
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(opts) ⇒ Unimplemented
constructor
A new instance of Unimplemented.
- #type ⇒ Object
Constructor Details
#initialize(opts) ⇒ Unimplemented
Returns a new instance of Unimplemented.
11 12 13 |
# File 'lib/ruby_gpg2/status_lines/unimplemented.rb', line 11 def initialize(opts) @raw = opts[:raw] end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
8 9 10 |
# File 'lib/ruby_gpg2/status_lines/unimplemented.rb', line 8 def raw @raw end |
Class Method Details
.parse(line) ⇒ Object
4 5 6 |
# File 'lib/ruby_gpg2/status_lines/unimplemented.rb', line 4 def self.parse(line) new(raw: line) end |
Instance Method Details
#==(other) ⇒ Object
19 20 21 |
# File 'lib/ruby_gpg2/status_lines/unimplemented.rb', line 19 def ==(other) other.class == self.class && other.state == state end |
#type ⇒ Object
15 16 17 |
# File 'lib/ruby_gpg2/status_lines/unimplemented.rb', line 15 def type :unknown end |