Sat Aug 6
#
Example use of Class Interception
def test_warmer Warmer.use_class(:Heater, MockHeater) do # Here, anytime a method in Warmer references # Heater it will get a MockHeater class instead. end # Here Warmer is back to normal. end
#
Jim Weirich’s OSCON 2005 talk. The room was so crowded even Dave Thomas was turned away at the door.
Dependency Injection: Vitally Important or Totally Irrelevant?
Jim Weirich’s OSCON 2005 talk. The room was so crowded even Dave Thomas was turned away at the door.
#
Rio is a convenience class wrapping much of the functionality of IO, File, Dir, Pathname, FileUtils, Tempfile, StringIO, OpenURI, Zlib, and CSV.
Rio – Ruby I/O Comfort Class
Rio is a convenience class wrapping much of the functionality of IO, File, Dir, Pathname, FileUtils, Tempfile, StringIO, OpenURI, Zlib, and CSV.
Thanks for the convenience.
#
#rails-core
11:38 < pragdave> a product contains one or more items to ship, and each item type can be in multiple prodicys
11:38 < pragdave> products
11:38 < noradio> looks like you've been using Active Supports Inflector again ;)