Exception: UsageMod::FileAppendDoesntExistError

Inherits:
Error
  • Object
show all
Defined in:
lib/Usage.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename) ⇒ FileAppendDoesntExistError



114
115
116
117
# File 'lib/Usage.rb', line 114

def initialize(filename)
	@filename = filename
	super("trying to append to a file that doesn't exist: '#{filename}'")
end

Instance Attribute Details

#filenameObject (readonly)

Returns the value of attribute filename.



113
114
115
# File 'lib/Usage.rb', line 113

def filename
  @filename
end