class Middleman::CachingProxy::CachedResource
Public Class Methods
new(path:, cached_path:, build_path:)
click to toggle source
# File lib/middleman/caching_proxy/cached_resource.rb, line 5 def initialize(path:, cached_path:, build_path:); end
Public Instance Methods
binary?()
click to toggle source
# File lib/middleman/caching_proxy/cached_resource.rb, line 20 def binary? true # Seems to mean "do a binary copy or make a rack request?" end
content_type()
click to toggle source
# File lib/middleman/caching_proxy/cached_resource.rb, line 28 def content_type "text/html" end
destination_path()
click to toggle source
# File lib/middleman/caching_proxy/cached_resource.rb, line 8 def destination_path path[1..-1] end
ext()
click to toggle source
# File lib/middleman/caching_proxy/cached_resource.rb, line 12 def ext "" end
ignored?()
click to toggle source
# File lib/middleman/caching_proxy/cached_resource.rb, line 16 def ignored? false # Seems to mean "actually include in build?" end
source_file()
click to toggle source
# File lib/middleman/caching_proxy/cached_resource.rb, line 24 def source_file cached_path end