Skip to content

Commit

Permalink
Fix mistake in README code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaswilric committed Apr 18, 2012
1 parent dfe8791 commit c19bc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ are created by defining commands powered by regular expressions and Ruby.
:syntax => 'puts <string>',
:description => 'Write something to $stdout',
:regex => /^puts\s+(.+)$/,
:alias => [ :alias => 'p <string>', :regex => /^p\s+(.+)$/ ],
:alias => [ :syntax => 'p <string>', :regex => /^p\s+(.+)$/ ],
:is_public => true
) do |sender, message|
puts "#{sender} says '#{message}'"
Expand Down

0 comments on commit c19bc7d

Please sign in to comment.