diff options
| author | Satoshi Tagomori <s-tagomori@sakura.ad.jp> | 2025-11-05 13:52:45 +0900 |
|---|---|---|
| committer | Satoshi Tagomori <tagomoris@gmail.com> | 2025-11-07 13:14:54 +0900 |
| commit | 50b9d9d355b2c64101ebdd2f2de0e9010bb050dc (patch) | |
| tree | 193329921f80fadeed58e20e42151d6c2eb18bf7 /test/ruby/namespace/instance_variables.rb | |
| parent | f19b29d1dbb2918dee112b0df0cba2ca1165a399 (diff) | |
rename namespace.c (and others) to box.c
Diffstat (limited to 'test/ruby/namespace/instance_variables.rb')
| -rw-r--r-- | test/ruby/namespace/instance_variables.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/ruby/namespace/instance_variables.rb b/test/ruby/namespace/instance_variables.rb deleted file mode 100644 index 1562ad5d45..0000000000 --- a/test/ruby/namespace/instance_variables.rb +++ /dev/null @@ -1,21 +0,0 @@ -class String - class << self - attr_reader :str_ivar1 - - def str_ivar2 - @str_ivar2 - end - end - - @str_ivar1 = 111 - @str_ivar2 = 222 -end - -class StringDelegator < BasicObject -private - def method_missing(...) - ::String.public_send(...) - end -end - -StringDelegatorObj = StringDelegator.new |
