diff options
author | Marc-Andre Lafortune <@marc-andre.ca> | 2020-09-30 18:21:27 -0400 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-04-28 17:33:59 +0900 |
commit | 37b445eaeb9fdb5c717a32253d0d00c50a650b93 () | |
tree | 295a4c580724d3499b3897880e58a8f961837d70 | |
parent | 2afbe7113aceb5e3e1c63fe2778c875e975bacf3 (diff) |
[ruby/ostruct] Compatibility with Ruby 2.5
https://.com/ruby/ostruct/commit/ecd9fafdf8
-rw-r--r-- | lib/ostruct.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -220,7 +220,7 @@ class OpenStruct private def is_method_protected!(name) # :nodoc: if !respond_to?(name, true) false - elsif name.end_with?('!') true else owner = method!(name).owner |