Sha256: 6f4e9c0f73ed581549378c95ea0d84fd13f95503a46b4d3ef81402812854132b
Contents?: true
Size: 427 Bytes
Versions: 1
Compression:
Stored size: 427 Bytes
Contents
module Ferver class Configuration attr_accessor :directory_path, :serve_hidden # Return the absolute path to the directory Ferver is serving files from. # def directory_path @directory_path || Ferver::DEFAULT_FILE_SERVER_DIR_PATH end # Default to not serving hidden files # def serve_hidden @serve_hidden || false end alias_method :serve_hidden?, :serve_hidden end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ferver-1.3.0 | lib/ferver/configuration.rb |