class Gollum::DuplicatePageError

Attributes

attempted_path[RW]

Public Class Methods

new(attempted, message = nil) click to toggle source
Calls superclass method
# File lib/gollum-lib.rb, line 48
def initialize(attempted, message = nil)
  @attempted_path = attempted
  super(message || "Cannot write #{@attempted_path}: path already exists.")
end