20 Apr '14, 8am

RubyMonk - Ruby Primer - Introduction to Objects:

We will begin our journey with objects. In Ruby, just like in real life, our world is filled with objects. Everything is an object - integers, characters, text, arrays - everything. To make things happen using Ruby, one always puts oneself in the place of an object and then has conversations with other objects, telling them to do stuff. Roleplaying as an object in your program is an integral part of object-oriented programming. To know which object you are at the moment, one may use the keyword self . Try it for yourself: Example Code: self [reset] Need a hint? See the Solution Hint Output Window As you can see, if you don't specify which object you are, you automatically play the role of the main object that Ruby provides us by default. We'll delve into how one can play the role of different objects and why this is useful a little further down the line.

Full article: http://rubymonk.com/learning/books/1-ruby-primer/chapters...

Tweets

#generative_testing in #ruby

rubygems.org 26 Apr '14, 6pm

generative 0.1.0 Generative testing for RSpec install gem install generative Download Documentation Badge Subscribe RSS Au...

Test Driving iOS - A Primer

robots.thoughtbot.com 16 Apr '14, 5pm

In case you missed it, our own Britt Ballard (a fellow native Texan) published a fantastic post in our Back to Basics seri...

fluent-plugin-ruby_one_liner (0.0.2): Fluentd p...

rubygems.org 29 Apr '14, 11am

fluent-plugin-ruby_one_liner 0.0.2 Fluentd plugin to run ruby one line of script install gem install fluent-plugin-ruby_on...

Just used the vcloud-edge_gateway ruby gem to c...

rubygems.org 30 Apr '14, 2pm

Tool to configure a VMware vCloud Edge Gateway. Uses vcloud-core.

Repository for Ruby domain objects in Elasticse...

rubyflow.com 09 Apr '14, 8am

Repository for Ruby domain objects in Elasticsearch Posted by karmiq on April 09, 2014 — 0 comments Check out a draft of R...

@loadx @EmberSherpa We use the capistrano-djang...

rubygems.org 21 Apr '14, 11pm

capistrano-django provides a solid basis for common django deployment

qiniu-rs (3.4.9): Qiniu Resource (Cloud) Storag...

rubygems.org 21 Apr '14, 4am

Qiniu Resource (Cloud) Storage SDK for Ruby. See: http://developer.qiniu.com/docs/v6/sdk/ruby-sdk.html

In-editor Ruby evaluation is done with xmpfilte...

rubygems.org 26 Apr '14, 9am

rcodetools is a collection of Ruby code manipulation tools. It includes xmpfilter and editor-independent Ruby development ...

Simulate java interfaces in ruby to enforce pub...

rubygems.org 21 Apr '14, 12am

Simulate java interfaces in ruby to enforce public class implementation