Sha256: 94e91d752970fe516b9d111f58cd01613c38fd30566ad48178765ad77891e867
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 Bytes
Contents
require "thor" require_relative "../lib/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.1 | bin/ruby_quiz_1 |