class SiteHook::NoLogsError

Attributes

path[R]

Public Class Methods

new(path) click to toggle source
Calls superclass method SiteHook::SiteHookError::new
# File lib/site_hook/exceptions.rb, line 39
def initialize(path)
  @str = "Log path '#{Paint[path, "red"]}' does not exist!"
  @path = Pathname.new(path)
  super(@str, 97)
end