Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
module UnicornPowers
def fire_super_ray_beam
ray_beam_power
end
def ray_beam_power
"pow"
end
end
module TomCruise
mixin UnicornPowers
def ray_beam_power
"bang"
end
end
TomCruise.fire_super_ray_beam % => "bang"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.