Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
6
Task/Reflection-Get-source/Ruby/reflection-get-source.rb
Normal file
6
Task/Reflection-Get-source/Ruby/reflection-get-source.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
require 'mathn'
|
||||
Math.method(:sqrt).source_location
|
||||
# ["/usr/local/lib/ruby2.3/2.3.0/mathn.rb", 119]
|
||||
|
||||
Class.method(:nesting).source_location
|
||||
# nil, since Class#nesting is native
|
||||
Loading…
Add table
Add a link
Reference in a new issue