Sha256: de7fe5263b0e9d8b6e29b1c7ec4cf3e182ccd6668d2e1a22b2bc119258d94de7
Contents?: true
Size: 360 Bytes
Versions: 3
Compression:
Stored size: 360 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 DEN(/^IN TEH END (\d+) CUCUMBRZ KTHXBAI$/) do |n| @basket.cukes.should == n.to_i end
Version data entries
3 entries across 3 versions & 1 rubygems