class Gollum::DuplicatePageError
Attributes
attempted_path[RW]
dir[RW]
existing_path[RW]
Public Class Methods
new(dir, existing, attempted, message = nil)
click to toggle source
Calls superclass method
# File lib/gollum-lib.rb, line 51 def initialize(dir, existing, attempted, message = nil) @dir = dir @existing_path = existing @attempted_path = attempted super(message || "Cannot write #{@dir}/#{@attempted_path}, found #{@dir}/#{@existing_path}.") end