Sha256: 7fecf4392a68ac6d9f9b0f73d4dcf98c6c7f5344c4697f41441f2a6be0a2235f

Contents?: true

Size: 138 Bytes

Versions: 34

Compression:

Stored size: 138 Bytes

Contents

class Object
  def flexmock_singleton_defined?(method_name)
    singleton_methods(false).include?(method_name.flexmock_as_name)
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
flexmock-2.4.2 lib/flexmock/object_extensions.rb
flexmock-3.0.1 lib/flexmock/object_extensions.rb
flexmock-2.4.1 lib/flexmock/object_extensions.rb
flexmock-3.0.0 lib/flexmock/object_extensions.rb
flexmock-2.4.0 lib/flexmock/object_extensions.rb
flexmock-2.3.8 lib/flexmock/object_extensions.rb
flexmock-2.3.6 lib/flexmock/object_extensions.rb
flexmock-2.3.5 lib/flexmock/object_extensions.rb
flexmock-2.3.4 lib/flexmock/object_extensions.rb
flexmock-2.3.3 lib/flexmock/object_extensions.rb
flexmock-2.3.2 lib/flexmock/object_extensions.rb
flexmock-2.3.1 lib/flexmock/object_extensions.rb
flexmock-2.3.0 lib/flexmock/object_extensions.rb
flexmock-2.2.1 lib/flexmock/object_extensions.rb
flexmock-2.2.0 lib/flexmock/object_extensions.rb
flexmock-2.1.0 lib/flexmock/object_extensions.rb
flexmock-2.0.6 lib/flexmock/object_extensions.rb
flexmock-2.0.5 lib/flexmock/object_extensions.rb
flexmock-2.0.4 lib/flexmock/object_extensions.rb
flexmock-2.0.3 lib/flexmock/object_extensions.rb