Public Instance methods
hash_public()
Serve files from the public directory if the file exists, it includes the hash_public prefix segment followed by a string segment for the content hash, and this is a GET request.
[show source]
# File lib/roda/plugins/hash_public.rb 93 def hash_public 94 if is_get? 95 on roda_class.opts[:hash_public_prefix], String do |_| 96 public 97 end 98 end 99 end