Skip to content

Instantly share code, notes, and snippets.

View toretore's full-sized avatar

Tore Darell toretore

View GitHub Profile
@toretore
toretore / now.rb
Last active January 9, 2016 17:00 — forked from VelizarHristov/before.rb
PIPELINE = %w[booked collected ironed delivered]
def state
PIPELINE[@pipeline_position]
end
def advance
@pipeline_position += 1
end