Exception: NameLengthError
Instance Method Summary collapse
-
#initialize(len) ⇒ NameLengthError
constructor
A new instance of NameLengthError.
Constructor Details
#initialize(len) ⇒ NameLengthError
Returns a new instance of NameLengthError.
18 19 20 |
# File 'lib/errors.rb', line 18 def initialize(len) super "File name too long (#{len} chars)." end |