Parent

Methods

Files

Gollum::DuplicatePageError

Attributes

attempted_path[RW]
dir[RW]
existing_path[RW]

Public Class Methods

new(dir, existing, attempted, message = nil) click to toggle source
# File lib/gollum-lib.rb, line 44
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

[Validate]

Generated with the Darkfish Rdoc Generator 2.