Sha256: 96c49dcba87ff06b9b53bc110e35ac59cc63a7406e42dfd28bc8e28a6766747c

Contents?: true

Size: 1.58 KB

Versions: 44

Compression:

Stored size: 1.58 KB

Contents

= Parenting

http://poolpartyrb.com

== DESCRIPTION:

Easily add parents to classes

== SYNOPSIS:

Usage:

Subclass parenting::base:

class Quickie < Parenting::Base
end

Then, use to your heart's content! When you instance_eval in a block, your parent will be set with parent. This is handled with a context stack that is globally accessible. You can get the object's current context by calling current_context on an object (at runtime). 

== INSTALL:

sudo gem install auser-parenting

== LICENSE:

(The MIT License)

Copyright (c) 2009 Ari Lerner, Michael Fairchild, CloudTeam @ AT&T interactive

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version data entries

44 entries across 44 versions & 4 rubygems

Version Path
auser-parenting-0.0.2 README.rdoc
auser-parenting-0.0.4 README.rdoc
auser-poolparty-1.1.7 vendor/gems/parenting/README.rdoc
auser-poolparty-1.2.0 vendor/gems/parenting/README.rdoc
auser-poolparty-1.2.1 vendor/gems/parenting/README.rdoc
auser-poolparty-1.2.10 vendor/gems/parenting/README.rdoc
auser-poolparty-1.2.11 vendor/gems/parenting/README.rdoc
auser-poolparty-1.2.12 vendor/gems/parenting/README.rdoc
auser-poolparty-1.2.2 vendor/gems/parenting/README.rdoc
auser-poolparty-1.2.3 vendor/gems/parenting/README.rdoc
auser-poolparty-1.2.4 vendor/gems/parenting/README.rdoc
auser-poolparty-1.2.7 vendor/gems/parenting/README.rdoc
auser-poolparty-1.2.8 vendor/gems/parenting/README.rdoc
auser-poolparty-1.2.9 vendor/gems/parenting/README.rdoc
auser-poolparty-1.3.0 vendor/gems/parenting/README.rdoc
auser-poolparty-1.3.1 vendor/gems/parenting/README.rdoc
auser-poolparty-1.3.10 vendor/gems/parenting/README.rdoc
auser-poolparty-1.3.11 vendor/gems/parenting/README.rdoc
auser-poolparty-1.3.12 vendor/gems/parenting/README.rdoc
auser-poolparty-1.3.13 vendor/gems/parenting/README.rdoc