Sha256: 61a718c085fc29b6e8b4ca3254c229dfab03e87dce27cc03f8fe27c7a25c310b
Contents?: true
Size: 450 Bytes
Versions: 5
Compression:
Stored size: 450 Bytes
Contents
class MissingRootDirectory < StandardError def initialize(site, port) @port = (port == 80 ? nil : port) @site = site super() end def error ["The root directory for #{@site.name} is missing"] end def description "You can <a href='http://yodel#{':' if @port}#{@port}/sites?id=#{@site.id}'>select a new root directory</a>, or rename the existing directory back to '#{File.basename(@site.root_directory)}'." end end
Version data entries
5 entries across 5 versions & 1 rubygems