diff --git a/lib/chatty_student.rb b/lib/chatty_student.rb index e69de29b..5daa0213 100644 --- a/lib/chatty_student.rb +++ b/lib/chatty_student.rb @@ -0,0 +1,12 @@ +require_relative './student' + +class ChattyStudent < Student + def hello + super + puts "How are you doing today? I'm okay, but I'm kind of tired. Did you watch The Walking Dead last night? You didn't?! Oh man, it was so crazy! What, you don't want any spoilers? Okay well let me just tell you who died..." + end + + def raise_hand + 10.times { super } + end +end diff --git a/lib/student.rb b/lib/student.rb index e69de29b..d277cd4f 100644 --- a/lib/student.rb +++ b/lib/student.rb @@ -0,0 +1,9 @@ +class Student + def hello + puts "Hey there! I'm so excited to learn stuff." + end + + def raise_hand + puts "Pick me!" + end +end