Git Product home page Git Product logo

blankslate's Introduction

BlankSlate
===

BlankSlate provides an abstract base class with no predefined
methods (except for <tt>\_\_send__</tt> and <tt>\_\_id__</tt>).
BlankSlate is useful as a base class when writing classes that
depend upon <tt>method_missing</tt> (e.g. dynamic proxies).

Copyright 2004, 2006 by Jim Weirich ([email protected]).
All rights reserved.


Extracted from Builder because, for no conceivable reason,
blankslate isn't in its own gem. Gemified by David Masover,
moved to gemcutter by Jack Danger Canty ([email protected]
if you'd like to own this gem).

Explanation on extraction from David Masover:

So, Builder seems to have the most complete implementation of
BlankSlate, short of Ruby 1.9's BasicObject. The problem is,
this is part of Builder, and still inside the Builder gem.

It's especially frustrating, because the Builder source
(lib/builder/blankslate.rb) seems to acknowledge that there
should be a separate gem. But the only reference I can find
refers to onestepback.org's gem repository, which isn't working.

So I built my own. I'll try to keep it up to date with Builder.
The first three parts of the version number are
the Builder version; the last part is my revision.

blankslate's People

Contributors

jackdanger avatar kschiess avatar

Watchers

Nestor G Pestelos Jr avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.