class Mutest::Subject::Method::Singleton

Singleton method subjects

Constants

NAME_INDEX
SYMBOL

Public Instance Methods

prepare() click to toggle source

Prepare subject for mutation insertion

@return [self]

# File lib/mutest/subject/method/singleton.rb, line 12
def prepare
  scope.singleton_class.__send__(:undef_method, name)
  self
end