This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Paul Visscher and Greg Mefford | |
require 'rspec/given' | |
require 'time' | |
class BerlinClock | |
def self.convert_time(time) | |
t = Time.parse(time) | |
clock = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Paul Visscher and Josh Mills | |
require 'rspec/given' | |
class BathroomEtiquette | |
def initialize(stalls, line) | |
@stalls = stalls | |
@line_exists = line | |
@stalls_hash = make_stalls_hash(stalls) | |
end |