Skip to content

Instantly share code, notes, and snippets.

@dekz
Created September 10, 2014 05:16
Show Gist options
  • Select an option

  • Save dekz/a9d17c7f565c06868608 to your computer and use it in GitHub Desktop.

Select an option

Save dekz/a9d17c7f565c06868608 to your computer and use it in GitHub Desktop.
module Entity
class World
def initialize
cat = Entity::Animal::Cat.new
cat.cat_method
end
end
end
module Entity
module Animal
class TestThing
def initialize
cat = Cat.new
cat.cat_method
end
end
end
end
module Entity
module Animal
class Cat
def cat_method
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment