Sha256: 9e3c0963ca9ada068e04e40e70509398e72833236d6062ec09504d3aa27fcdc8
Contents?: true
Size: 425 Bytes
Versions: 1
Compression:
Stored size: 425 Bytes
Contents
require "thor" require "ruby_quiz_2" module RubyQuiz2 class SecretSantaCLI < Thor desc "secret_santas PATH", "select secret santas" def secret_santas(path) people_list = PeopleList.new(File.read(path)) selection_party = SelectionParty.new(people_list) selection_party.make_selections SelectionsPrinter.new.print(selection_party.selections) end end SecretSantaCLI.start(ARGV) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_quiz_2-1.0.0 | bin/ruby_quiz_2 |