Description
Once you understand the basics of Ruby, you can start creating custom classes and modules. These programming constructs make it easier to organize and maintain code and extend your applications with new features. In Ruby Essential Training 2, instructor Kevin Skoglund teaches the fundamentals of object-oriented programming with classes and modules. Learn how to define...
read more
Preview
Course Content
Learn to use custom classes in Ruby
00:51
What you need to know
00:39
Get the most out of the exercise files
01:15
Define a class
04:37
Instances
05:32
Attributes
04:17
Reader/writer methods
05:08
Attribute methods
05:34
Method access control
07:20
Initialize method
04:51
Challenge: Dice
03:39
Solution: Dice
04:58
Class methods
06:47
Class attributes
04:55
Class reader/writer methods
03:31
Challenge: Radio
04:48
Solution: Radio
04:36
Class inheritance
08:31
Override and extend
07:06
Access the superclass
07:18
Challenge: Secure radio
05:14
Solution: Secure radio
06:19
Time
05:53
Date
04:58
DateTime
03:22
Challenge: Birth date analysis
01:50
Solution: Birth date analysis
03:10
Namespacing
04:56
Mixins
04:58
Load, require, include
04:06
Challenge: To-do list
06:02
Solution: To-do list
03:39
Handle exceptions
06:04
Handle specific exceptions
05:16
Exception methods
04:02
Raise exceptions
06:10
Custom exceptions
06:59
Challenge: Custom exceptions
01:39
Next steps
00:47
About Educator
Kevin Skoglund
Founder of NovaFabrica
Kevin Skoglund builds custom web solutions at Nova Fabrica and teaches web development at LinkedIn Learning.
Kevin Skoglund is the founder of Nova Fabrica, a web development agency specialized in delivering custom, scalable solutions using Ruby on Rails, PHP, SQL, and related technologies. Nova Fabrica clients include An Event Apart, Atlas Carpet Mills, Consulate Film, Gregorius|Pineo, Maharam, Oakley, and The Bold Italic. Kevin is a lynda.com author with over 15 years of teaching and web development experience.
Kevin Skoglund is the founder of Nova Fabrica, a web development agency specialized in delivering custom, scalable solutions using Ruby on Rails, PHP, SQL, and related technologies. Nova Fabrica clients include An Event Apart, Atlas Carpet Mills, Consulate Film, Gregorius|Pineo, Maharam, Oakley, and The Bold Italic. Kevin is a lynda.com author with over 15 years of teaching and web development experience.
Course Info
Course Duration
3h 1m
Course Language
English
Course Level
Beginner
Certification
Yes
$21.69
Enroll Now