Sha256: dac38be4eef34c05269adfb2f617faaf9c860267deac80b3fd97b81d9975136d

Contents?: true

Size: 171 Bytes

Versions: 14

Compression:

Stored size: 171 Bytes

Contents

class << Open
  alias _just_open open

  def open(file, *args, **kwargs, &block)
    file.produce if Path === file
    _just_open(file, *args, **kwargs, &block)
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
scout-essentials-1.6.5 lib/scout/resource/open.rb
scout-essentials-1.6.4 lib/scout/resource/open.rb
scout-essentials-1.6.3 lib/scout/resource/open.rb
scout-essentials-1.6.2 lib/scout/resource/open.rb
scout-essentials-1.6.1 lib/scout/resource/open.rb
scout-essentials-1.6.0 lib/scout/resource/open.rb
scout-essentials-1.3.1 lib/scout/resource/open.rb
scout-essentials-1.3.0 lib/scout/resource/open.rb
scout-essentials-1.2.0 lib/scout/resource/open.rb
scout-essentials-1.1.1 lib/scout/resource/open.rb
scout-essentials-1.1.0 lib/scout/resource/open.rb
scout-essentials-1.0.0 lib/scout/resource/open.rb
scout-gear-9.1.0 lib/scout/resource/open.rb
scout-gear-9.0.0 lib/scout/resource/open.rb