rubyhs/ruby/test.rb

35 lines
257 B
Ruby
Raw Normal View History

2019-09-26 21:45:14 +00:00
module M
def f
end
def g
f(2)
h(2, a: 'a')
h(2, a: :a)
2019-10-11 09:37:11 +00:00
end
module N
def f
2019-10-11 12:03:01 +00:00
M::foo
h
end
module A::B
def k
end
2019-10-11 09:37:11 +00:00
end
2019-09-26 21:45:14 +00:00
2019-10-11 09:37:11 +00:00
def g
end
2019-09-26 21:45:14 +00:00
end
end
module K
f
2019-09-26 21:45:14 +00:00
end
f(2)
h(2, a: 'a')
h(2, a: :a)