Skip to content

Commit

Permalink
aa を asciiart のエイリアスに変更した issue #43
Browse files Browse the repository at this point in the history
asciiart が aa のエイリアスだった
  • Loading branch information
eiel committed Nov 9, 2012
1 parent ba57afa commit 972102e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/hiroshimarb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def execute(argv)
if command = Command.find(first)
command.call *argv
else
if first == 'asciiart'
command = Command.find('aa')
if first == 'aa'
command = Command.find('asciiart')
command.call *argv
else
help
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'hiroshimarb/command'

module Hiroshimarb::Commands
class Aa < Hiroshimarb::Command
class Asciiart < Hiroshimarb::Command
def call(*args)
puts <<EOD
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Expand Down

0 comments on commit 972102e

Please sign in to comment.