Periodical
Ruby: The Next Facet.
| Title: | Ruby: The Next Facet. |
|---|---|
| Authors: | Wilson, Matthew |
| Source: | C/C++ Users Journal. Jul2004, Vol. 22 Issue 7, p40-45. 5p. 1 Color Photograph. |
| Subject Terms: | *Computer programming, *Computer programmers, Ruby (Computer program language), Artificial languages |
| People: | Matsumoto, Yukihiro |
| Abstract: | This article provides information on Ruby, an object-oriented scripting language invented by Yukihiro Matsumoto. Ruby is easy to learn for anyone who has mastered any of the C-family languages. The set of major tasks performed in the initialization function revolve around the Recls module itself. The first thing is to define a module, which is done by passing the Recls string to rb define module(). The last part of the module definition is to create entries for the module-level functions. Like D, Ruby lets one calls no-parameter methods without braces, meaning that a method call looks syntactically like a member variable access. D calls them properties, Ruby calls them attributes. Once Ruby has been implemented, it can be used trough a full-test program available at http://www.cuj.com/code/. The main work is done within the doSearch() method. Like other scripting languages, code that is not encapsulated within a class or a method is part of the mainline. It is all pretty standard stuff to Ruby programmers, and should be reasonably obvious to those who are not. The other noteworthy part is the use of the Recls module roots attribute, which is used if the options request search over all filesystem roots. |
| Database: | Business Source Index |
| FullText | Text: Availability: 0 |
|---|---|
| Header | DbId: bsx DbLabel: Business Source Index An: 13486841 RelevancyScore: 1111 AccessLevel: 6 PubType: Periodical PubTypeId: serialPeriodical PreciseRelevancyScore: 1111.3779296875 |
| IllustrationInfo | |
| Items | – Name: Title Label: Title Group: Ti Data: Ruby: The Next Facet. – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Wilson%2C+Matthew%22">Wilson, Matthew</searchLink> – Name: TitleSource Label: Source Group: Src Data: <searchLink fieldCode="JN" term="%22C%2FC%2B%2B+Users+Journal%22">C/C++ Users Journal</searchLink>. Jul2004, Vol. 22 Issue 7, p40-45. 5p. 1 Color Photograph. – Name: Subject Label: Subject Terms Group: Su Data: *<searchLink fieldCode="DE" term="%22Computer+programming%22">Computer programming</searchLink><br />*<searchLink fieldCode="DE" term="%22Computer+programmers%22">Computer programmers</searchLink><br /><searchLink fieldCode="DE" term="%22Ruby+%28Computer+program+language%29%22">Ruby (Computer program language)</searchLink><br /><searchLink fieldCode="DE" term="%22Artificial+languages%22">Artificial languages</searchLink> – Name: SubjectPerson Label: People Group: Su Data: <searchLink fieldCode="PE" term="%22Matsumoto%2C+Yukihiro%22">Matsumoto, Yukihiro</searchLink> – Name: Abstract Label: Abstract Group: Ab Data: This article provides information on Ruby, an object-oriented scripting language invented by Yukihiro Matsumoto. Ruby is easy to learn for anyone who has mastered any of the C-family languages. The set of major tasks performed in the initialization function revolve around the Recls module itself. The first thing is to define a module, which is done by passing the Recls string to rb define module(). The last part of the module definition is to create entries for the module-level functions. Like D, Ruby lets one calls no-parameter methods without braces, meaning that a method call looks syntactically like a member variable access. D calls them properties, Ruby calls them attributes. Once Ruby has been implemented, it can be used trough a full-test program available at http://www.cuj.com/code/. The main work is done within the doSearch() method. Like other scripting languages, code that is not encapsulated within a class or a method is part of the mainline. It is all pretty standard stuff to Ruby programmers, and should be reasonably obvious to those who are not. The other noteworthy part is the use of the Recls module roots attribute, which is used if the options request search over all filesystem roots. |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=bsx&AN=13486841 |
| RecordInfo | BibRecord: BibEntity: Languages: – Code: eng Text: English PhysicalDescription: Pagination: PageCount: 5 StartPage: 40 Subjects: – SubjectFull: Computer programming Type: general – SubjectFull: Computer programmers Type: general – SubjectFull: Ruby (Computer program language) Type: general – SubjectFull: Artificial languages Type: general – SubjectFull: Matsumoto, Yukihiro Type: general Titles: – TitleFull: Ruby: The Next Facet. Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Wilson, Matthew IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 07 Text: Jul2004 Type: published Y: 2004 Identifiers: – Type: issn-print Value: 10752838 Numbering: – Type: volume Value: 22 – Type: issue Value: 7 Titles: – TitleFull: C/C++ Users Journal Type: main |
| ResultId | 1 |