Class: Taipu::File

Inherits:
Base
  • Object
show all
Defined in:
lib/taipu/file.rb

Overview

The type file.

Instance Method Summary collapse

Methods inherited from Base

#constraints, #to_h, #to_sym

Instance Method Details

#valid?(value) ⇒ Boolean

Returns:



7
8
9
# File 'lib/taipu/file.rb', line 7

def valid?(value)
  value.is_a?(::IO)
end