I have a class: How could I test the exit_or_continue method? ...
I have a class: How could I test the exit_or_continue method? ...
I have been searching frustratingly for hours and just can not seem to find out how to change the input from the ask function. If anybody can help ...
How do i need to change the code that the hline on the top is seen and that the lines continue to the top? (cannot upload the picture) ...
I have been battling why Simplecov is not reported this Rake task as covered when my specs work correctly via pry tests. Can anyone point me in the ri ...
I have been trying to use the following spec based on this Stack Overflow question to cover this process. Current Spec... The rake task... spec ...
I use HighLine gem for UI. I want to clear the screen before output any data. Which method should I use? Patch some Ruby methods like puts? Patch High ...
Hello i have a problem for my App. I develop a Online Shopping List for some friends and my family. It works finde but i would implement a new functio ...
This is my current code for ircd configuration file generator, I'm trying to be able to use answer_or_default for this, and figure out the use of High ...
I have the following script-snipped, which I use regularly to semi-automate one of my workflows. I open a bash terminal and start irb and then paste t ...
My first ever stack overflow post. I am supposed to be succinct and to the point, but please indulge me in some background the first time around. I ha ...
I have an interactive CLI app based on Highline gem. I can run it interactively for Cucumber tests using Aruba. But I can't using stubs and mocks, bec ...
The HighLine documentation shows that we can display a string after the user selects an option from the list, like follows: How can we set a variab ...
I try several ways like stubbing STDOUT, using highline-test and aruba gems, but it still stops my cucumber tests and asking for user input. Are there ...
I am trying to randomize the echo character in the Highline gem's ask method, but could not get it to work. Did I not do this right? The character ...
I have gem/cli that uses highline and I was wondering if you can set your own command so it is always available (similar to 'help'). thanks! ...
I have the following Ruby script: And it fails when I hit Enter: undefined method default_external' for REXML::Encoding:Module /Library/Ruby/Ge ...
Using Highline v1.6.19 When I run the following Ruby program: The output looks like this while asking the first three questions: Then it asks f ...
HighLine is a Ruby library for easing console input and output. It provides methods that lets you request input and validate it. Is there something th ...
I'd like to test response to user input. That input is queried using Highline: I'd like to do something similar to this question and put it in my t ...
Setup: Bash Ruby 1.9.2 highline (1.6.13) Description: I'm fairly used to highline with some other projects, but haven't used it in a few m ...