From 9bd00a1f8acecda5dbadb1175e005dc00a011864 Mon Sep 17 00:00:00 2001 From: jyliu17 Date: Mon, 14 Sep 2020 22:57:30 -0400 Subject: [PATCH] Johnson edit --- lib/dog.rb | 8 ++++++++ lib/person.rb | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/lib/dog.rb b/lib/dog.rb index e69de29b..c276a922 100644 --- a/lib/dog.rb +++ b/lib/dog.rb @@ -0,0 +1,8 @@ +class Dog + def bark + puts "Woof!" + end + def sit + puts "The Dog is sitting" + end +end \ No newline at end of file diff --git a/lib/person.rb b/lib/person.rb index e69de29b..d9c62131 100644 --- a/lib/person.rb +++ b/lib/person.rb @@ -0,0 +1,9 @@ +class Person + def talk + puts "Hello World!" + end + + def walk + puts "The Person is walking" + end +end \ No newline at end of file