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
index

index( header )index( header, offset ) Instance Public methods This method will return the index of a field with the provided header. The offset can be used to locate duplicate header names, as described in #field.

inspect

inspect() Instance Public methods A summary of fields, by header, in an ASCII compatible String.

key?

key?(header) Instance Public methods Alias for: has_key?

member?

member?(header) Instance Public methods Alias for: has_key?

push

push(*args) Instance Public methods A shortcut for appending multiple fields. Equivalent to: args.each { |arg| csv_row << arg } This method returns the row for chaining.

to_csv

to_csv(options = Hash.new) Instance Public methods Returns the row as a CSV String. Headers are not used. Equivalent to: csv_row.fields.to_csv( options ) to_s

to_hash

to_hash() Instance Public methods Collapses the row into a simple Hash. Be warning that this discards field order and clobbers duplicate fields.

to_s

to_s(options = Hash.new) Instance Public methods Alias for: to_csv

values_at

values_at(*headers_and_or_indices) Instance Public methods Alias for: fields

new

new(array_of_rows) Class Public methods Construct a new CSV::Table from array_of_rows, which are expected to be CSV::Row objects. All rows are assumed to have the same headers. A CSV::Table object supports the following Array methods through delegation: empty?() length() size()

Popular Articles
feature - Perl pragma to enable new features NAME SYNOPSIS DESCRIPTIONLexical effect no feature AVAILABLE FEATURESThe 'say' feature The 'state' feature The 'switch' feature The 'unicode_strin
untaint pathname.untaint â obj Instance Public methods Untaints this Pathname. See Object#untaint.
Dependency Tracking When you create complex database structures involving many tables with foreign key constraints, views, triggers, functions, etc. you implicitly creat
jui_dropdown - provides a simple dropdown button menu jui_dropdown is a jQuery plugin, provides a simple dropdown button menu (split button) and is jQuery UI themes compatible. This jQuery dropdown plugin
is_numeric (PHP 4, PHP 5, PHP 7) Finds whether a variable is a number or a numeric string bool is_numeric (


Page 129 of 11844

|< < Prev 126 127 128 129 130 131 132 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions