daily pastebin goal
86%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Person
  2.  
  3.   def initialize(name)
  4.     @name = name
  5.   end
  6.  
  7.   attr_reader attr_writer :name
  8.  
  9.  
  10. end
  11.  
  12. p = Person.new('L. Ron')
  13.  
  14. p.name = 'Me!'
  15. puts p.name
RAW Paste Data
Top