Skip to content

Commit

Permalink
Update example to use version 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
radiospiel committed Jul 4, 2021
1 parent 76616ec commit 3e75bd6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/examples/ex1/ex1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

gemfile do
source 'https://rubygems.org'
gem "simple-cli", '~> 0.2', path: "../../.."
gem "simple-cli", '~> 0.3', path: "../../.."
end

module Ex1; end
Expand Down Expand Up @@ -37,4 +37,5 @@ def hello(message, name: nil)
end
end

Ex1::CLI.run!(*ARGV)
$0 = "ex1"
Simple::CLI.run!(Ex1::CLI)

0 comments on commit 3e75bd6

Please sign in to comment.