Class: Muack::AnyInstanceOf

Inherits:
Struct
  • Object
show all
Defined in:
lib/muack/any_instance_of.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#singleton_classObject

Returns the value of attribute singleton_class

Returns:

  • (Object)

    the current value of singleton_class



3
4
5
# File 'lib/muack/any_instance_of.rb', line 3

def singleton_class
  @singleton_class
end

Instance Method Details

#__mock_resetObject



10
# File 'lib/muack/any_instance_of.rb', line 10

def __mock_reset ;     ; end

#__mock_verifyObject

dummies for Muack::Session



9
# File 'lib/muack/any_instance_of.rb', line 9

def __mock_verify; true; end

#inspectObject



4
5
6
# File 'lib/muack/any_instance_of.rb', line 4

def inspect
  "Muack::API.any_instance_of(#{singleton_class})"
end