ruby-changes:59233
From: Nobuyoshi <ko1@a...>
Date: Fri, 13 Dec 2019 20:52:13 +0900 (JST)
Subject: [ruby-changes:59233] a2e8712349 (master): Fix visibility as module_function
https://git.ruby-lang.org/ruby.git/commit/?id=a2e8712349 From a2e87123499f6eef9c03089f61f174dd4b3cc673 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 13 Dec 2019 20:51:58 +0900 Subject: Fix visibility as module_function diff --git a/warning.rb b/warning.rb index 8361176..224650d 100644 --- a/warning.rb +++ b/warning.rb @@ -2,6 +2,7 @@ https://github.com/ruby/ruby/blob/trunk/warning.rb#L2 # fronzen-string-literal: true module Kernel + module_function # call-seq: # warn(*msgs, uplevel: nil) -> nil -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/