[追è¨]Csideå çãUNIVERSAL::source_location_forã¨ãã¦ãªãªã¼ã¹ãã¦ããã¾ãã®ã§cpanmã§ãå©ç¨ãã ããï¼[/追è¨] asakusa.rbã§source_locationã¨ããã¡ã½ãããæãã¦ãããã¾ããã ããã«ããã°ãRubyã®ã¡ã½ãããªãã¸ã§ã¯ã(UnbountMethod, Method, Procãªã©)ã«ã¯source_locationã¨ããã¡ã½ãããããããã®ã¡ã½ãããå®ç¾©ããããã¡ã¤ã«åã¨è¡çªå·ãåå¾ãããã¨ãã§ãã¾ããããã¯ã¯ã©ã¹é層ãè¤éãªã¨ãã«ãããã°ã«å½¹ç«ã¡ããã§ãã Perlã§ãæ¨æºã©ã¤ãã©ãªã«å«ã¾ããBã¢ã¸ã¥ã¼ã«ã使ã£ã¦åæ§ã®ãã¨ãã§ããã®ã§ãã£ã¦ã¿ã¾ããã Rubyçï¼ #!/usr/bin/env ruby2 require 'fileutils'; p FileUtils.method(:pwd).source_locat
{{#tags}}- {{label}}
{{/tags}}