Sha256: b3df9acc04656bbacbf91f570a6af7940cfbbf6c0d4e84a0715a3408134fc972
Contents?: true
Size: 292 Bytes
Versions: 1
Compression:
Stored size: 292 Bytes
Contents
require "open-gcs" module OpenGCSExt refine File.singleton_class do def open(uri, *rest, **options, &block) if OpenGCS.get_path_info(uri).first == OpenGCS::TARGET_SCHEME OpenGCS.open_gcs(uri, *rest, **options, &block) else super end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
open-gcs-0.1.0 | lib/open-gcs/ext.rb |