Sha256: 5a0b8139cf463f94835a7c624278cb792cc114946e3a8f31f50abd7632d587e1
Contents?: true
Size: 309 Bytes
Versions: 13
Compression:
Stored size: 309 Bytes
Contents
# module: random class Amazing < Thor desc "describe NAME", "say that someone is amazing" method_options :forcefully => :boolean def describe(name) ret = "#{name} is amazing" puts options.forcefully?? ret.upcase : ret end desc "hello", "say hello" def hello puts "Hello" end end
Version data entries
13 entries across 13 versions & 2 rubygems