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


readable_after_eof?

readable_after_eof?() Instance Public methods Whether this input method is still readable when there is no more data to read. See IO#eof for more information.

line

line(line_no) Instance Public methods Returns the current line number for io. line counts the number of times gets is called. See IO#lineno for more information.

gets

gets() Instance Public methods Reads the next line from this input method. See IO#gets for more information.

eof?

eof?() Instance Public methods Whether the end of this input method has been reached, returns true if there is no more data to read. See IO#eof? for more information.

encoding

encoding() Instance Public methods The external encoding for standard input.

new

new() Class Public methods Creates a new input method object using Readline

puts

puts(*objs) Instance Public methods Calls print on each element in the given objs, followed by a newline character.

printn

printn(*opts) Instance Public methods Prints the given opts, with a newline delimiter.

printf

printf(format, *opts) Instance Public methods Extends IO#printf to format the given opts for Kernel#sprintf using parse_printf_format

print

print(*opts) Instance Public methods Open this method to implement your own output method, raises a NotImplementedError if you don't define print in your own class.

Page 1888 of 2275

|< < Prev 1885 1886 1887 1888 1889 1890 1891 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions