Giter Site home page Giter Site logo

password still showing about highline HOT 7 CLOSED

jeg2 avatar jeg2 commented on July 18, 2024
password still showing

from highline.

Comments (7)

whiteleaf7 avatar whiteleaf7 commented on July 18, 2024

This problem was caused by da1bf60.

# system_extensioins.rb
    if not defined?(get_character)  # => true !!
      def get_character( input = STDIN )
        input.getbyte
      end
    end

from highline.

ewmanthei avatar ewmanthei commented on July 18, 2024

Any idea how to resolve? I don't mind changing the code in system_extensions.rb but I don't know what to put there. I am not a Ruby veteran.

from highline.

whiteleaf7 avatar whiteleaf7 commented on July 18, 2024

rewrite system_extensions.rb

# old
    if not defined?(get_character)

# new
    if not method_defined?(:get_character)

from highline.

ewmanthei avatar ewmanthei commented on July 18, 2024

This worked - thanks!

from highline.

vadimdemedes avatar vadimdemedes commented on July 18, 2024

Any update on this? Ruby 2.1.3p242, Highline 1.6.21, OS X 10.9.

from highline.

JEG2 avatar JEG2 commented on July 18, 2024

This is definitely in the HighLine release you mentioned. If you're still having trouble, please open a new issue with as many details as you can provide.

from highline.

vadimdemedes avatar vadimdemedes commented on July 18, 2024

Ok, I figured out the problem. I am using Thor + Highline, so ask method was actually from Thor, not from Highline (https://github.com/erikhuda/thor/blob/master/lib/thor/shell/basic.rb#L61).

from highline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.