-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The error is:
Error: abstract `def Enumerable(T)#each(&block)` must be implemented by Callback::ResultSet(T)
The code is one of your samples:
require "cli"
class Hello < Cli::Command
class Options
bool "--bye"
arg "to"
end
def run
if args.bye?
print "Goodbye"
else
print "Hello"
end
puts " #{args.to}!"
end
end
Hello.run %w(world) # prints "Hello, world!"
Hello.run %w(--bye world) # prints "Goodbye, world!"
DannyBen and theprogramer
Metadata
Metadata
Assignees
Labels
No labels