Skip to content

Commit

Permalink
Merge pull request #34 from tianosouza/fix/inherit_a_class
Browse files Browse the repository at this point in the history
Fixes variable errors and adjusts access to attributes in the Student class
  • Loading branch information
lifeparticle committed Aug 26, 2024
2 parents cf31180 + 3b12e86 commit 10717cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3292,13 +3292,13 @@ s.name = "James Bond"
s.number = 700
s.id = 678
puts "#{p.name}"
puts "#{s.name}"
James Bond
puts "#{p.number}"
puts "#{s.number}"
700
puts "#{p.id}"
puts "#{s.id}"
678
```
Expand Down

0 comments on commit 10717cb

Please sign in to comment.