class Middleman::AutomaticClowncar::TimestampResource

Attributes

output[RW]

Public Class Methods

new(store, path, origin, source_dir) click to toggle source
Calls superclass method
# File lib/middleman-automatic-clowncar/timestamp-resource.rb, line 7
def initialize(store, path, origin, source_dir)
  @source_dir = source_dir
  @origin = origin
  super(store, path, source_dir.to_s)
end

Public Instance Methods

binary?() click to toggle source

def request_path

@request_path

end

# File lib/middleman-automatic-clowncar/timestamp-resource.rb, line 28
def binary?
  false
end
ignored?() click to toggle source
# File lib/middleman-automatic-clowncar/timestamp-resource.rb, line 36
def ignored?
  false
end
raw_data() click to toggle source
# File lib/middleman-automatic-clowncar/timestamp-resource.rb, line 32
def raw_data
  {}
end
render(*args, &block) click to toggle source
# File lib/middleman-automatic-clowncar/timestamp-resource.rb, line 17
def render(*args, &block)
  Utils.origin_mtime(@source_dir,@origin)
end
source_file() click to toggle source
# File lib/middleman-automatic-clowncar/timestamp-resource.rb, line 21
def source_file
  nil
end
template?() click to toggle source
# File lib/middleman-automatic-clowncar/timestamp-resource.rb, line 13
def template?
  false
end