Sha256: 13c37f4f24c558826d917e68d5bca3b4394e413feba7dcf78dae0ba2b4fd6e96
Contents?: true
Size: 355 Bytes
Versions: 158
Compression:
Stored size: 355 Bytes
Contents
ICANHAZ /^IN TEH BEGINNIN (\d+) CUCUMBRZ$/ do |n| @basket = Basket.new(n.to_i) end WEN /^I EAT (\d+) CUCUMBRZ$/ do |n| @belly = Belly.new @belly.eat(@basket.take(n.to_i)) end DEN /^I HAS (\d+) CUCUMBERZ IN MAH BELLY$/ do |n| @belly.cukes.should == n.to_i end AN /^IN TEH END (\d+) CUCUMBRZ KTHXBAI$/ do |n| @basket.cukes.should == n.to_i end
Version data entries
158 entries across 158 versions & 15 rubygems