Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 299b647355
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 0.204 kB
puts Module
# => Module
module Awesome
def yeah
puts "you're hot"
end
alias_method :nice, :yeah
end
class You
include Awesome
end
y = You.new
y.yeah
# => you're hot
y.nice
# => you're hot
Jump to Line
Something went wrong with that request. Please try again.