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.
14 15 16 |
# File 'lib/ruby_gpg2/status_lines/unimplemented.rb', line 14 def initialize(opts) @raw = opts[:raw] end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
10 11 12 |
# File 'lib/ruby_gpg2/status_lines/unimplemented.rb', line 10 def raw @raw end |
Class Method Details
.parse(line) ⇒ Object
6 7 8 |
# File 'lib/ruby_gpg2/status_lines/unimplemented.rb', line 6 def self.parse(line) new(raw: line) end |
Instance Method Details
#==(other) ⇒ Object
22 23 24 |
# File 'lib/ruby_gpg2/status_lines/unimplemented.rb', line 22 def ==(other) other.class == self.class && other.state == state end |
#type ⇒ Object
18 19 20 |
# File 'lib/ruby_gpg2/status_lines/unimplemented.rb', line 18 def type :unknown end |