class HMap::ClassIncludedError

Raised when a class is not the class of obj.

Public Class Methods

new(cls1, cls2) click to toggle source
Calls superclass method
# File lib/cocoapods-hmap/exceptions.rb, line 29
def initialize(cls1, cls2)
  super format('%<cls1>s must be the %<cls2>s of obj', cls1: cls1, cls2: cls2)
end