Sha256: 59b99a05d6f38f87658fb013d6d52f0701375cf49195c735a24d9b24f6ae3c33

Contents?: true

Size: 780 Bytes

Versions: 3

Compression:

Stored size: 780 Bytes

Contents

= bondage

* http://github.com/JustinLove/bondage

== DESCRIPTION:

class Binding stinks, module Bondage stinks less.  Bondage provides hashes of local, global, instance, etc. variables, and provides the Enumerable interface for locals directly.  It also provides [] syntax to get/set binding variables directly.

== FEATURES/PROBLEMS:

* Note that hashes provided by locals & co are plain old hashes (writing to them won't affect the binding) with references to the real data (modifying the values themselves will be reflected in the binding.)
* Warning: Uses eval internally, so don't use it with untrusted data.  An attempt is made to sanitize identifier names.  However, if your implementation doesn't support ObjectSpace, the second argument to []= is still evaled directly.

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
JustinLove-bondage-0.1.0 description.rdoc
bondage-0.1.2 description.rdoc
bondage-0.1.1 description.rdoc