I have a module Animal:
module Animal
  def sit
    puts '*sitting*'
  end
end
and I am including that module in a class Dog.
class Dog
  include Animal
end
dog = Dog.new.sit
When running this, I get this error:
dog.rb:2:in <class:Dog>':
uninitialized constant Dog::Animal (NameError)  from
dog.rb:1:in <main>
What am I doing wrong?