class InstanceAssay
Assert that an object is an instance of a class.
Public Class Methods
pass?(object, class_type)
click to toggle source
Check assertion.
# File lib/assay/instance_assay.rb, line 12 def self.pass?(object, class_type) object.instance_of?(class_type) end