w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • Bulletin
  • Posts
doc_ruby_on_rails
doc_ruby_on_rails


progress_reporter

progress_reporter(*args) Instance Public methods Return a progress reporter object chosen from the current verbosity.

download_reporter

download_reporter(*args) Instance Public methods Return a download reporter object chosen from the current verbosity

debug

debug(statement) Instance Public methods Display a debug message on the same location as error messages.

choose_from_list

choose_from_list(question, list) Instance Public methods Choose from a list of options. question is a prompt displayed above the list. list is a list of option strings. Returns the pair [option_name, option_index].

backtrace

backtrace(exception) Instance Public methods Prints a formatted backtrace to the errors stream if backtraces are enabled.

ask_yes_no

ask_yes_no(question, default=nil) Instance Public methods Ask a question. Returns a true for yes, false for no. If not connected to a tty, raises an exception if default is nil, otherwise returns default.

ask_for_password_on_windows

ask_for_password_on_windows() Instance Public methods Asks for a password that works on windows. Ripped from the Heroku gem.

ask_for_password_on_unix

ask_for_password_on_unix() Instance Public methods Asks for a password that works on unix

ask_for_password

ask_for_password(question) Instance Public methods Ask for a password. Does not echo response to terminal.

ask

ask(question) Instance Public methods Ask a question. Returns an answer if connected to a tty, nil otherwise.

Page 1976 of 2275

|< < Prev 1973 1974 1975 1976 1977 1978 1979 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions