class ArTTY::Error::ImageNamedImproperly
Public Class Methods
new(fn = nil)
click to toggle source
Calls superclass method
# File lib/arTTY/error/image_named_improperly.rb, line 2 def initialize(fn = nil) super("Image named wrong: #{fn}") if (fn && !fn.empty?) super("Image named wrong") if (fn.nil?) end