This project is archived and is in readonly mode.
TemplateRunner#ask broken
-
CancelProfileIsBroken
- Assigned user set to Pratik
- Tag changed from gets, stdin, template to gets, patch, stdin, template
-
CancelProfileIsBroken
- Tag changed from gets, patch, stdin, template to bugmash, gets, patch, stdin, template
-
pjammer
-1 This ticket should be closed as the file path for this patch doesn't exist and def ask is now in the following path: Thor::Shell::Basic in the basic.rb file.
It appears that $stdin.gets has been applied already in master branch.
Here is the code snippet:
# Ask something to the user and receives a response. # # ==== Example # ask("What is your name?") # def ask(statement, color=nil) say("#{statement} ", color) $stdin.gets.strip end -
Pratik
- State changed from incomplete to resolved
-
CancelProfileIsBroken
- Assigned user cleared.
- Tag changed from bugmash, gets, patch, stdin, template to gets, patch, stdin, template
- Milestone cleared.
