Sha256: cd64dde9e90a921243d905c34b05a4244e7b310def722cab8e8bc26c969ae8e4

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

module Kernel

  private
  alias_method :open_without_vfs, :open

  def open(name, *rest, &block)
    if ( name =~ /^vfs:/ )
      return IO.vfs_open( name, *rest, &block )
    end
    open_without_vfs( name, *rest, &block )
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
org.torquebox.vfs-1.0.0.Beta23 lib/vfs/ext/kernel.rb
org.torquebox.vfs-1.0.0.Beta22 lib/vfs/ext/kernel.rb