Introduction to Bindings (://URLFAN)

How popular is your website?  
Enter a website above, we'll show you who's talking about it right now.
We're currently ranking the popularity of 3,783,534 websites by parsing 126,325,152 blog posts from 2,091,065 blog feeds.
Article Structure
16 paragraphs
3349 characters
0 images
5 outgoing links

Introduction to Bindings

Post Date: Mar 20, 2007 9:02 a.m.
Ranked website: pasadenarb.com (Not Ranked Yet)

For full text please visit source:
http://feeds.feedburner.com/~r/Pasadenarb/~3/105295285/introduction-to...


The Pixaxe book defines Binding objects to: encapsulate the execution context at some particular place in the code and retain this context for future use. You can get a Binding for the current context by calling Kernel#binding. The Binding stores information about the variables, methods, and self and you can access them by passing the Binding to eval. class Product def set_title(title) @title = title end def get_binding binding end end p = Product.new p.set_title("nice and shiny") q = Product.new q.set_title("old and ugly") eval "@title", p.get_binding # => "nice and shiny" eval "@title", q.get_binding # => "old and ugly" You can see here that @title gets evaluated differently depending on the binding. The first eval returns "nice and shiny" because that is the value of @title for the first Product p. Blocks and Procs Blocks carry information about their Binding. a = "inside a" a_block ...

Content suppressed by ://URLFAN, for full article visit source

Websites mentioned in article
(click for rank details):

onestepback.org
rubycentral.com
pasadenarb.com

Buzz Words mentioned in article:

No buzz words were found in article
How popular is feeds.feedburner.com?

Click here to view stats and graphs for pasadenarb.com


More posts from feeds.feedburner.com

Next Meeting - 7/17
From: feeds.feedburner.com
Post Date: 2007-07-10 20:56:44

Just a reminder - our next meeting is coming up next Tues., 7/17, at 6:30 as usual. We’ll once again be meeting at the Building Safety Solutions office. If you need directions, you can search the mailing list archives or contact Steve Holder or Nate Murray.No Tags ... more
Foreman Video
From: feeds.feedburner.com
Post Date: 2007-06-27 20:09:22

Heres the video of Nate Daiger and Jason Sydes discussing Foreman, their job scheduling framework. Its a bit longer than the last one. Enjoy. No Tags ... more
Higher Order Procedures Video
From: feeds.feedburner.com
Post Date: 2007-06-18 21:41:47

As an experiment, we tried recording the meeting last week. Nate Murray gave an interesting talk about Higher Order Procedures in Ruby, the video is below. Its a bit blurry, but the audio seems to have mostly come through ok. Nate Daiger and Jason Sydes also talked about Foreman, the job scheduling framework they’ve been working on. Video of their talk will be coming a bit later this week. No Tags ... more
Next meeting - 6/12
From: feeds.feedburner.com
Post Date: 2007-05-20 13:05:26

For anybody who wasn’t able to make it last week - our next meeting will be on 6/12, 6:30 PM as usual. announcements , meetings ... more


Feeds and posts are not affliated with ://URLFAN. They are displayed here simply for informational purposes, if you would like to remove your feed, posts, or domain from ranking and analysis, please contact us.

© 2006-2008 ://URLFAN (Server .15 Generated Dec 04 08 14:44 in -0.52 secs.)

Contact Us / About ://URLFAN / Notify me when my site is added or updated. / Add my RSS feed to ://URLFAN