class Volt::StatStub

Public Instance Methods

digest() click to toggle source
# File lib/volt/server/template_handlers/sprockets_component_handler.rb, line 21
def digest
  "stub-digest-#{mtime}"
end
directory?() click to toggle source
# File lib/volt/server/template_handlers/sprockets_component_handler.rb, line 9
def directory?
  false
end
file?() click to toggle source
# File lib/volt/server/template_handlers/sprockets_component_handler.rb, line 13
def file?
  false
end
mtime() click to toggle source

Get the mtime from the forking server

# File lib/volt/server/template_handlers/sprockets_component_handler.rb, line 26
def mtime
  Volt::Dispatcher.component_last_modified_time.to_s
end
stub?() click to toggle source
# File lib/volt/server/template_handlers/sprockets_component_handler.rb, line 17
def stub?
  true
end