Module: Path::S3

Defined in:
lib/scout/aws/s3.rb

Instance Method Summary collapse

Instance Method Details

#glob(*args) ⇒ Object



193
194
195
196
197
198
199
# File 'lib/scout/aws/s3.rb', line 193

def glob(*args)
  if Open::S3.is_s3?(self.find)
    Open::S3.glob(self.find, *args)
  else
    orig_glob(*args)
  end
end

#located?Boolean

Returns:

  • (Boolean)


189
190
191
# File 'lib/scout/aws/s3.rb', line 189

def located?
  Open::S3.is_s3?(self) || orig_located?
end