Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F619367
main.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
199 B
Referenced Files
None
Subscribers
None
main.rb
View Options
# shows how meta programming is used to generate getter and setters
require
'person'
# create an object and play around with it
p
=
Person
.
new
42
p
.
firstName
=
"John"
p
.
name
=
"Smith"
puts
p
.
fullName
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Sat, Nov 14, 4:39 PM (10 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
137342
Default Alt Text
main.rb (199 B)
Attached To
Mode
R21 OOP Examples
Attached
Detach File
Event Timeline