class ProtoCat::NotImplementedError
Attributes
object[R]
protocol[R]
Public Class Methods
new(protocol, object)
click to toggle source
Calls superclass method
# File lib/proto_cat/error/not_implemented_error.rb, line 6 def initialize(protocol, object) @protocol = protocol @object = object super(not_implemented_message) end
Public Instance Methods
failure_string()
click to toggle source
# File lib/proto_cat/error/not_implemented_error.rb, line 17 def failure_string protocol.failure_strings(object).join('\n') end
not_implemented_message()
click to toggle source
# File lib/proto_cat/error/not_implemented_error.rb, line 13 def not_implemented_message "#{protocol} is not implemented properly on #{object}: #{failure_string}" end