Sha256: 9985fa120b03a37ae014a0f756757430d1e3980675f96557722114f6cae248b6

Contents?: true

Size: 341 Bytes

Versions: 11

Compression:

Stored size: 341 Bytes

Contents

= Missing Constant

If a constant is missing it is because it was not found
in either the demos scope, the applique or at the toplevel.

  begin
    UnknownConstant
  rescue => err
    # no colon means toplevel
    err.name.to_s.refute.include?('::')
  end

A constant defined in the applique is visible.

  APPLIQUE_CONSTANT.assert = true

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
qed-2.9.0 qed/10_constant_lookup.rdoc
qed-2.8.8 qed/10_constant_lookup.rdoc
qed-2.8.7 qed/10_constant_lookup.rdoc
qed-2.8.6 qed/10_constant_lookup.rdoc
qed-2.8.5 qed/10_constant_lookup.rdoc
qed-2.8.4 qed/10_constant_lookup.rdoc
qed-2.8.3 qed/10_constant_lookup.rdoc
qed-2.8.2 qed/10_constant_lookup.rdoc
qed-2.8.1 qed/10_constant_lookup.rdoc
qed-2.8.0 qed/10_constant_lookup.rdoc
qed-2.7.0 qed/10_constant_lookup.rdoc