PHP 8.2.31
Preview: impl.rb Size: 301 B
/proc/thread-self/root/opt/alt/ruby27/share/ruby/forwardable/impl.rb

# :stopdoc:
module Forwardable
  def self._valid_method?(method)
    catch {|tag|
      eval("BEGIN{throw tag}; ().#{method}", binding, __FILE__, __LINE__)
    }
  rescue SyntaxError
    false
  else
    true
  end

  def self._compile_method(src, file, line)
    eval(src, nil, file, line)
  end
end

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
301 B lrw-r--r-- 2023-03-30 12:34:08
Edit Download
107 B lrw-r--r-- 2023-03-30 12:34:08
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).