class UrlFetcher::FileTooBig

Attributes

size[R]

Public Class Methods

new(size) click to toggle source
# File lib/url_fetcher/errors.rb, line 18
def initialize(size)
  @size = size
end

Public Instance Methods

to_s() click to toggle source
# File lib/url_fetcher/errors.rb, line 22
def to_s
  "File too big (#{size} bytes)"
end