I am not the author.  But, I am having some trouble trying to understand 
it.  There is currently, I think only the binary implementation form 
http://rubygems.org, but looking into the actual gem it seems there are 
some c extensions.

My concern comes from the following code from the github posting:

  cup = Coffee.new.enrich(milk).enrich(sprinkles).enrich(sprinkles)
  # or even..
  cup = Coffee.new.enrich milk, sprinkles, sprinkles

  cup.cost.should == 2.10
  cup.should be_instance_of(Coffee)
  cup.injectors.should == [:milk, :sprinkles, :sprinkles]

What does this mean?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/b6fdb84affb829b83e8a648266c9a10c%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to