Class: Person
Overview
There is but one test to see if this works: see if the output is pretty.
Instance Attribute Summary collapse
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
Method Summary
Methods inherited from Struct
#colorless_pretty_print, #pretty_print
Instance Attribute Details
#first_name ⇒ Object
Returns the value of attribute first_name
301 302 303 |
# File 'lib/colorful_inspect.rb', line 301 def first_name @first_name end |
#last_name ⇒ Object
Returns the value of attribute last_name
301 302 303 |
# File 'lib/colorful_inspect.rb', line 301 def last_name @last_name end |