class Shrine::InvalidFile

  1. lib/shrine.rb
Superclass: Error

Raised when a file is not a valid IO.

Methods

Public Class

  1. new

Public Class methods

new (io, missing_methods)
[show source]
   # File lib/shrine.rb
21 def initialize(io, missing_methods)
22   super "#{io.inspect} is not a valid IO object (it doesn't respond to \
23     #{missing_methods.map{|m, _|"##{m}"}.join(", ")})"
24 end