Actions
Bug #762
closedmodule_functionがpublicになっている
Description
=begin
module_functionがいつのまにかpublicになっています。
= ruby19 result
RUBY_VERSION # => "1.9.0"
module Baz
module_function
def double(x) x*2 end
public_instance_methods # => [:double]
private_instance_methods # => []
end
= ruby18 result
RUBY_VERSION # => "1.8.7"
module Baz
module_function
def double(x) x*2 end
public_instance_methods # => []
private_instance_methods # => ["double"]
end
=end
Updated by matz (Yukihiro Matsumoto) about 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r20285.
=end
Actions
Like0
Like0