Extending Core Ruby Classes

by Noble Desktop Claim Listing

Unearth the potential of extending core Ruby classes with our insightful tutorial. Get a detailed understanding of how to add new methods to classes, with clear examples using the String and Array classes.

Price : Enquire Now

Contact the Institutes

Fill this form

Advertisement

Noble Desktop Logo

img Duration

Please Enquire

Course Details

Unearth the potential of extending core Ruby classes with our insightful tutorial. Get a detailed understanding of how to add new methods to classes, with clear examples using the String and Array classes.

 

Key Insights

  • This tutorial teaches how to extend the string class by adding a new method.

  • It provides an exercise that shows how additional information can be added to a given class by opening a class declaration and inserting a new method.

  • It explains the power of Ruby, where this method can apply not only to our own classes, but also to the classes that come with Ruby or Rails.

  • The tutorial demonstrates how to add a new method to a core Ruby class, using the String class as an example.

  • It informs that Rails extends many core Ruby classes and adds a bunch of functionality to them, which is a common and potent technique in professional Rails development.

  • Lastly, it provides another example by extending the Array class and adding a method to it.

  • New York Branch

    185 Madison Avenue 3rd Floor, New York
  • Winston Salem Branch

    500 W 5th St, Winston Salem

Check out more Ruby courses in USA

iiT Workforce Logo

Python Certification Training

The Python Certification course which is essentially a live, real-time project-based training at IIT WorkForce is best suited for those who intend to master the ubiquitous programming language along with its intense libraries such as Sci-Py, sci-kit learn, Matplotlib, Seaborn, Pandas, NumPy, Cmath,

by iiT Workforce [Claim Listing ]
The University of Texas at Austin Logo

Introduction to Programming in Python

This introductory programming class will provide teachers with foundational knowledge of computational thinking and in coding using the trinket.io platform, and will encompass transitioning from block to text-based coding in Python.

by The University of Texas at Austin [Claim Listing ]
RoboMocha Logo

Basic Java Programming

A programming language is a formal language that specifies a set of instructions that computer can understand.Programming languages generally consist of instructions for a computer. Programming languages can be used to create programs that implement specific algorithms.

by RoboMocha [Claim Listing ]
Kanshe Infotech Logo

Java Developer

Java Developer course training is offered by Kanshe Infotech for all skill level. We offer individual and corporate training in various technologies as well as technology functions through our Training arm Kanshe University. 

by Kanshe Infotech [Claim Listing ]
  • Price
  • Start Date
  • Duration
The Forge Nashville Logo

CNC 101

After learning how to successfully create a vector file in Adobe Illustrator, this class will teach you how to operate the CNC (24” x 48” bed) and start creating!

by The Forge Nashville [Claim Listing ]

© 2024 coursetakers.com All Rights Reserved. Terms and Conditions of use | Privacy Policy