File: to_h.rb

package info (click to toggle)
ruby-backports 3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,460 kB
  • ctags: 703
  • sloc: ruby: 6,195; makefile: 24
file content (5 lines) | stat: -rw-r--r-- 87 bytes parent folder | download | duplicates (6)
1
2
3
4
5
unless ENV.respond_to? :to_h
  class << ENV
    alias_method :to_h, :to_hash
  end
end