Sha256: ef90d106efb7adb9c687eda218e76292b21fb293fbf142df2fb555c3a1bb6d87
Contents?: true
Size: 595 Bytes
Versions: 1
Compression:
Stored size: 595 Bytes
Contents
require 'direction' $:.unshift(__dir__) unless $:.include?(__dir__) require 'sample/accountant' require 'sample/customer' require 'sample/kitchen' require 'sample/micro_manager' require 'sample/server' def setup @kitchen = Kitchen.new @server = Server.new(@kitchen) @manager = MicroManager.new(@server) @customer = Customer.new(@server) @manager self end def manager @manager end def customer @customer end # Try loading this in the console and interact to make food using @manager vs. @customer # customer.order_food('burrito').pay_bill vs. ... lots of commands for @manager
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
direction-0.0.5 | sample.rb |