Sha256: 5431ab4c2975da30a018528ef00f3762683d4f9679656d1abdef5c44f85ab0aa
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
require "thor" require "ruby_quiz_1" module RubyQuiz1 class SolitaireCLI < Thor desc "encrypt MESSAGE", "encrypt a message" def encrypt(message) puts Message.new(message).encrypt end desc "decrypt MESSAGE", "decrypt a message" def decrypt(message) puts Message.new(message).decrypt end end SolitaireCLI.start(ARGV) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_quiz_1-0.0.2 | bin/ruby_quiz_1 |