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


dump

dump(data_path) Class Public methods Dump data_path using pp

ipv6_pktinfo_ifindex

ancdata.ipv6_pktinfo_ifindex => addr Instance Public methods Extracts ifindex from IPV6_PKTINFO ancillary data. IPV6_PKTINFO is defined by RFC 3542. addr = Addrinfo.ip("::1") ifindex = 0 ancdata = Socket::AncillaryData.ipv6_pktinfo(addr, ifindex) p ancdata.ipv6_pktinfo_ifindex #=> 0

merge_options

merge_options(new_options) Instance Public methods Merge a set of command options with the set of default options (without modifying the default option hash).

init

init(name, version) Instance Public methods Initialization that bypasses the âyield selfâ and âdefineâ step.

to_s

to_s(format = :default) Instance Public methods :db format outputs time in UTC; all others output time in local. Uses TimeWithZone's strftime, so %Z and %z work correctly. to_formatted_s

downto

int.downto(limit) {|i| block } â selfint.downto(limit) â an_enumerator Instance Public methods Iterates block, passing decreasing values from int down to and including limit. If no block is given, an enumerator is returned instead. 5.downto(1) { |n| print n, ".. " } print " Liftoff!\n" produces: 5.. 4.. 3.. 2.. 1.. Liftoff!

item_sort_not_really

item_sort_not_really(item, *opts) Instance Public methods

append_features

append_features(klass) Class Public methods

new

new(cmd = Proc.new, *args) Class Public methods

defined_in?

defined_in?(file) Instance Public methods Is part of this thing was defined in file?

Page 731 of 2275

|< < Prev 728 729 730 731 732 733 734 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions