diff options
Diffstat (limited to 'test/ruby/box/returns_proc.rb')
| -rw-r--r-- | test/ruby/box/returns_proc.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ruby/box/returns_proc.rb b/test/ruby/box/returns_proc.rb new file mode 100644 index 0000000000..bb816e5024 --- /dev/null +++ b/test/ruby/box/returns_proc.rb @@ -0,0 +1,12 @@ +module Foo + def self.foo + "fooooo" + end + + def self.callee + lambda do + Foo.foo + end + end +end + |
