Class: Bulldog::Stream::ForMissingFile

Inherits:
Base
  • Object
show all
Defined in:
lib/bulldog/stream.rb

Instance Attribute Summary

Attributes inherited from Base

#target

Instance Method Summary collapse

Methods inherited from Base

#file_name, #initialize, #path, #reload, #size, #write_to

Constructor Details

This class inherits a constructor from Bulldog::Stream::Base

Instance Method Details

#content_typeObject



141
142
143
# File 'lib/bulldog/stream.rb', line 141

def content_type
  @target.content_type || super
end

#missing?Boolean

Returns:

  • (Boolean)


135
136
137
# File 'lib/bulldog/stream.rb', line 135

def missing?
  true
end