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
Actions
Like0
Like0