Skip to content

Update minimum.textile #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2016
Merged

Conversation

kamiye
Copy link
Contributor

@kamiye kamiye commented Dec 18, 2016

modcls.rb

class Cls
def test()
return "class"
end
end

module Mod
def test()
return "module"
end
end

class C < Cls
include Mod
end

p(B.new().test()) # "class"? "module"? #It should be C.new() instead of B.new()

Copy link
Member

@markburns markburns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@markburns markburns merged commit b51d08b into ruby-hacking-guide:master Dec 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants