skip to content
Ruby phrasebook : essential code and commands Preview this item
ClosePreview this item
Checking...

Ruby phrasebook : essential code and commands

Author: Jason Clinton
Publisher: Upper Saddle River, N.J. : Addison-Wesley/Pearson, ©2009.
Series: Developer's library.
Edition/Format:   eBook : Document : EnglishView all editions and formats
Summary:

A guide that provides code for Ruby developers. This book is filled with code examples and covers various topics in Ruby programming and covers Ruby on Rails web development framework.

Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
More like this

Find a copy online

Links to this item

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Genre/Form: Electronic books
Terminology
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Jason Clinton
ISBN: 0768666759 9780768666755 9780672328978 0672328976 9780768678673 0768678676 9780768666434 0768666430
OCLC Number: 297576206
Description: 1 online resource (vii, 204 pages) : illustrations.
Contents: 1. Converting Between Types --
Number from a String --
Number to Formatted String --
String to Array and Back Again --
String to Regular Expression and Back Again --
Array to Hash and Back Again --
Array to Set and Back Again --
Floating-Point, Integer, and Rational Numbers --
2. Working with Strings --
Searching Strings --
Searching Strings with Regular Expressions --
Replacing Substrings --
Replacing Substrings using SprintF --
Replacing Substrings using Regu --
Working with Unicode --
Sanitizing Input --
Working with Line Endings --
Processing Large Strings --
Comparing Strings --
Checksumming a String (MD5 or Otherwise) --
Encrypting a String --
3. Working with Collections --
Slicing an Array --
Iterating over an Array --
Creating Enumerable Classes --
Sorting an Array --
Iterating over Nested Arrays --
Modifying All the Values in an Array --
Sorting Nested Arrays --
Building a Hash from a Config File --
Sorting a Hash by Key or Value --
Eliminating Duplicate Data from Arrays (Sets) --
Working with Nested Sets --
4. Working with Objects --
Inspecting Objects and Classes --
String Presentation of Objects --
Ruby-Style Polymorphisms ("Duck Typing") --
Comparing Objects --
Serializing Objects --
Duplication --
Protecting an Object Instance --
Garbage Collecting --
Using Symbols --
5. Working with Pipes --
Determining Interactive Standard Pipes --
Synchronizing STDERR with STDOUT --
Capturing the Output of a Child Process --
Implementing a Progress Bar --
Creating a Secured Password Prompt --
6. Working with Files --
Opening and Closing Files --
Searching and Seeking Large File Contents --
When to Use Binary Mode (Win32) --
Obtaining an Exclusive Lock --
Copying, Moving, and Deleting Files --
7. Manipulating Text --
Parsing an LDIF --
Parsing a Simple Config File --
Interpolating One Text File --
Sorting the Contents of a File --
Processing a passwd File --
8. Ruby One-Liners --
Simple Search --
Counting Lines in a File --
Head or Tail of a File --
MD5 or SHA1 Hash --
Simple HTTP Fetch --
Simple TCP Connect --
Escaping HTML --
Deleting Empty Directories --
Adding Users from a Text File --
Delete All the Files Just Extracted --
9. Processing XML --
Opening an XML File --
Accessing an Element (Node) --
Getting a List of Attributes --
Adding an Element --
Changing an Element's Enclosed Text --
Deleting an Element --
Adding an Attribute --
Changing an Attribute --
Deleting an Attribute --
Escaping Characters for XML --
Transforming Using XSLT --
Validating Your XML --
A Simple RSS Parser --
10. Rapid Applications Development with GUI Toolkits --
A Simple GTK+ Hello World --
Using Glade --
A Simple Qt Hello World --
Attaching a Signal Handler to a Qt Widget Slot --
Using Qt Designer --
Attaching Signal Handlers to Qt Designer Generated Code --
11. Simple CGI Forms --
Processing a Web Form --
Returning Tabled Results --
Escaping Input --
Locking Down Ruby --
Receiving an Uploaded File --
Representing Data Graphically --
12. Connecting to Databases --
Opening (and Closing) a MySQL Database Connection --
Creating a Table --
Getting a List of Tables --
Adding Rows to a Table --
Iterating Over Queried Rows --
Deleting Rows --
Deleting a Table --
13. Working with Networking and Sockets --
Connecting to a TCP Socket --
Running a TCP Server on a Socket --
Serializing Objects with YAML --
Network Objects with Distributed Ruby --
Using Net::HTTP --
Using Webrick --
14. Working with Threads --
Creating a Thread --
Using a Timer --
Killing a Thread --
Synchronizing Thread Communication --
Multithreaded Exception Gathering --
15. Documenting Your Ruby --
Documenting Ruby Code --
Typographic Conventions Used --
Overriding Method Signatures in Documentation --
Hiding a Module, Class, or Method --
Providing Program Usage Help --
Generating HTML Documentation --
Generating and Installing Documentation for ri --
16. Working with Ruby Packages --
Installing a Module --
Removing a Module --
Searching for a Module --
Updating Modules --
Examining a Module --
Packaging Your Module with Hoe --
Creating a Simple Test Case --
Distributing Your Module on RubyForge --
Making Rakefile Standalone.
Series Title: Developer's library.
Responsibility: by Jason Clinton.

Reviews

User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...

Tags

Be the first.

Similar Items

Related Subjects:(3)

User lists with this item (1)

Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data


Primary Entity

<http://www.worldcat.org/oclc/297576206> # Ruby phrasebook : essential code and commands
    a schema:CreativeWork, schema:MediaObject, schema:Book ;
    library:oclcnum "297576206" ;
    library:placeOfPublication <http://experiment.worldcat.org/entity/work/data/858288858#Place/upper_saddle_river_n_j> ; # Upper Saddle River, N.J.
    library:placeOfPublication <http://id.loc.gov/vocabulary/countries/nju> ;
    schema:about <http://dewey.info/class/006.76/e22/> ;
    schema:about <http://experiment.worldcat.org/entity/work/data/858288858#Topic/computers_general> ; # COMPUTERS--General
    schema:about <http://experiment.worldcat.org/entity/work/data/858288858#Topic/ruby_computer_program_language_terminology> ; # Ruby (Computer program language)--Terminology
    schema:about <http://id.worldcat.org/fast/1101038> ; # Ruby (Computer program language)
    schema:bookFormat schema:EBook ;
    schema:copyrightYear "2009" ;
    schema:creator <http://viaf.org/viaf/39201455> ; # Jason Clinton
    schema:datePublished "2009" ;
    schema:description "1. Converting Between Types -- Number from a String -- Number to Formatted String -- String to Array and Back Again -- String to Regular Expression and Back Again -- Array to Hash and Back Again -- Array to Set and Back Again -- Floating-Point, Integer, and Rational Numbers -- 2. Working with Strings -- Searching Strings -- Searching Strings with Regular Expressions -- Replacing Substrings -- Replacing Substrings using SprintF -- Replacing Substrings using Regu -- Working with Unicode -- Sanitizing Input -- Working with Line Endings -- Processing Large Strings -- Comparing Strings -- Checksumming a String (MD5 or Otherwise) -- Encrypting a String -- 3. Working with Collections -- Slicing an Array -- Iterating over an Array -- Creating Enumerable Classes -- Sorting an Array -- Iterating over Nested Arrays -- Modifying All the Values in an Array -- Sorting Nested Arrays -- Building a Hash from a Config File -- Sorting a Hash by Key or Value -- Eliminating Duplicate Data from Arrays (Sets) -- Working with Nested Sets -- 4. Working with Objects -- Inspecting Objects and Classes -- String Presentation of Objects -- Ruby-Style Polymorphisms ("Duck Typing") -- Comparing Objects -- Serializing Objects -- Duplication -- Protecting an Object Instance -- Garbage Collecting -- Using Symbols -- 5. Working with Pipes -- Determining Interactive Standard Pipes -- Synchronizing STDERR with STDOUT -- Capturing the Output of a Child Process -- Implementing a Progress Bar -- Creating a Secured Password Prompt -- 6. Working with Files -- Opening and Closing Files -- Searching and Seeking Large File Contents -- When to Use Binary Mode (Win32) -- Obtaining an Exclusive Lock -- Copying, Moving, and Deleting Files -- 7. Manipulating Text -- Parsing an LDIF -- Parsing a Simple Config File -- Interpolating One Text File -- Sorting the Contents of a File -- Processing a passwd File -- 8. Ruby One-Liners -- Simple Search -- Counting Lines in a File -- Head or Tail of a File -- MD5 or SHA1 Hash -- Simple HTTP Fetch -- Simple TCP Connect -- Escaping HTML -- Deleting Empty Directories -- Adding Users from a Text File -- Delete All the Files Just Extracted -- 9. Processing XML -- Opening an XML File -- Accessing an Element (Node) -- Getting a List of Attributes -- Adding an Element -- Changing an Element's Enclosed Text -- Deleting an Element -- Adding an Attribute -- Changing an Attribute -- Deleting an Attribute -- Escaping Characters for XML -- Transforming Using XSLT -- Validating Your XML -- A Simple RSS Parser -- 10. Rapid Applications Development with GUI Toolkits -- A Simple GTK+ Hello World -- Using Glade -- A Simple Qt Hello World -- Attaching a Signal Handler to a Qt Widget Slot -- Using Qt Designer -- Attaching Signal Handlers to Qt Designer Generated Code -- 11. Simple CGI Forms -- Processing a Web Form -- Returning Tabled Results -- Escaping Input -- Locking Down Ruby -- Receiving an Uploaded File -- Representing Data Graphically -- 12. Connecting to Databases -- Opening (and Closing) a MySQL Database Connection -- Creating a Table -- Getting a List of Tables -- Adding Rows to a Table -- Iterating Over Queried Rows -- Deleting Rows -- Deleting a Table -- 13. Working with Networking and Sockets -- Connecting to a TCP Socket -- Running a TCP Server on a Socket -- Serializing Objects with YAML -- Network Objects with Distributed Ruby -- Using Net::HTTP -- Using Webrick -- 14. Working with Threads -- Creating a Thread -- Using a Timer -- Killing a Thread -- Synchronizing Thread Communication -- Multithreaded Exception Gathering -- 15. Documenting Your Ruby -- Documenting Ruby Code -- Typographic Conventions Used -- Overriding Method Signatures in Documentation -- Hiding a Module, Class, or Method -- Providing Program Usage Help -- Generating HTML Documentation -- Generating and Installing Documentation for ri -- 16. Working with Ruby Packages -- Installing a Module -- Removing a Module -- Searching for a Module -- Updating Modules -- Examining a Module -- Packaging Your Module with Hoe -- Creating a Simple Test Case -- Distributing Your Module on RubyForge -- Making Rakefile Standalone."@en ;
    schema:exampleOfWork <http://worldcat.org/entity/work/id/858288858> ;
    schema:genre "Terminology"@en ;
    schema:genre "Electronic books"@en ;
    schema:inLanguage "en" ;
    schema:isPartOf <http://experiment.worldcat.org/entity/work/data/858288858#Series/developer_s_library> ; # Developer's library.
    schema:isSimilarTo <http://worldcat.org/entity/work/data/858288858#CreativeWork/> ;
    schema:name "Ruby phrasebook : essential code and commands"@en ;
    schema:productID "297576206" ;
    schema:publication <http://www.worldcat.org/title/-/oclc/297576206#PublicationEvent/upper_saddle_river_n_j_addison_wesley_pearson_2009> ;
    schema:publisher <http://experiment.worldcat.org/entity/work/data/858288858#Agent/addison_wesley_pearson> ; # Addison-Wesley/Pearson
    schema:url <http://proquest.safaribooksonline.com/0768666759> ;
    schema:url <http://www.myilibrary.com?id=260893> ;
    schema:url <http://www.myilibrary.com?id=264903&ref=toc> ;
    schema:url <http://www.myilibrary.com?id=264903> ;
    schema:url <http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=1599949> ;
    schema:url <http://proxy.library.carleton.ca/login?url=http://proquest.safaribooksonline.com/?uiCode=carleton&xmlId=0768666759> ;
    schema:url <http://proquest.safaribooksonline.com/9780768678673> ;
    schema:url <http://proquest.tech.safaribooksonline.de/0768666759> ;
    schema:workExample <http://worldcat.org/isbn/9780672328978> ;
    schema:workExample <http://worldcat.org/isbn/9780768678673> ;
    schema:workExample <http://worldcat.org/isbn/9780768666755> ;
    schema:workExample <http://worldcat.org/isbn/9780768666434> ;
    wdrs:describedby <http://www.worldcat.org/title/-/oclc/297576206> ;
    .


Related Entities

<http://experiment.worldcat.org/entity/work/data/858288858#Agent/addison_wesley_pearson> # Addison-Wesley/Pearson
    a bgn:Agent ;
    schema:name "Addison-Wesley/Pearson" ;
    .

<http://experiment.worldcat.org/entity/work/data/858288858#Place/upper_saddle_river_n_j> # Upper Saddle River, N.J.
    a schema:Place ;
    schema:name "Upper Saddle River, N.J." ;
    .

<http://experiment.worldcat.org/entity/work/data/858288858#Series/developer_s_library> # Developer's library.
    a bgn:PublicationSeries ;
    schema:hasPart <http://www.worldcat.org/oclc/297576206> ; # Ruby phrasebook : essential code and commands
    schema:name "Developer's library." ;
    schema:name "Developer's library" ;
    .

<http://experiment.worldcat.org/entity/work/data/858288858#Topic/computers_general> # COMPUTERS--General
    a schema:Intangible ;
    schema:name "COMPUTERS--General"@en ;
    .

<http://experiment.worldcat.org/entity/work/data/858288858#Topic/ruby_computer_program_language_terminology> # Ruby (Computer program language)--Terminology
    a schema:Intangible ;
    schema:name "Ruby (Computer program language)--Terminology"@en ;
    .

<http://id.worldcat.org/fast/1101038> # Ruby (Computer program language)
    a schema:Intangible ;
    schema:name "Ruby (Computer program language)"@en ;
    .

<http://viaf.org/viaf/39201455> # Jason Clinton
    a schema:Person ;
    schema:familyName "Clinton" ;
    schema:givenName "Jason" ;
    schema:name "Jason Clinton" ;
    .

<http://worldcat.org/isbn/9780672328978>
    a schema:ProductModel ;
    schema:isbn "0672328976" ;
    schema:isbn "9780672328978" ;
    .

<http://worldcat.org/isbn/9780768666434>
    a schema:ProductModel ;
    schema:isbn "0768666430" ;
    schema:isbn "9780768666434" ;
    .

<http://worldcat.org/isbn/9780768666755>
    a schema:ProductModel ;
    schema:isbn "0768666759" ;
    schema:isbn "9780768666755" ;
    .

<http://worldcat.org/isbn/9780768678673>
    a schema:ProductModel ;
    schema:isbn "0768678676" ;
    schema:isbn "9780768678673" ;
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.