Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Protected « Class « Ruby
Ruby
Class
Protected
1.
A method marked protected can be used only by instances of the class where it was defined, or by derived classes.
2.
protected that makes a method private, but within the scope of a class rather than within a single object.