Sha256: 756ad2c4f985c1b4b64c38708cf080474bba0ee123fc4207d6f4ca5835a95e68

Contents?: true

Size: 317 Bytes

Versions: 8

Compression:

Stored size: 317 Bytes

Contents

== BasicObject

  require 'facets/basicobject'

  o = Class.new(BasicObject).new

Should ignore new kernel methods.

  Kernel.module_eval { def xxx ; end }

  expect NoMethodError do
    o.xxx
  end

Should ignore new object methods.

  Object.class_eval { def yyy ; end }

  expect NoMethodError do
    o.yyy
  end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
facets-3.1.0 demo/standard/basic_object.rdoc
facets-3.0.0 demo/standard/basic_object.rdoc
facets-2.9.3 qed/standard/basic_object.rdoc
facets-2.9.2 qed/standard/basic_object.rdoc
facets-2.9.1 qed/standard/basic_object.rdoc
facets-2.9.0 qed/more/basic_object.rdoc
facets-2.9.0.pre.2 qed/more/basic_object.rdoc
facets-2.9.0.pre.1 qed/more/basic_object.rdoc