Class: Clive::Type::Pathname

Inherits:
Object show all
Defined in:
lib/clive/type/definitions.rb

Instance Method Summary collapse

Methods inherited from Object

#valid?

Methods inherited from Clive::Type

cast, find_class, match, refute, typecast, valid?, #valid?

Instance Method Details

#typecast(arg) ⇒ Object


103
104
105
# File 'lib/clive/type/definitions.rb', line 103

def typecast(arg)
  ::Pathname.new arg
end