Class: Clive::Type::Pathname
- Inherits:
-
Object
- Object
- Clive::Type
- Object
- Clive::Type::Pathname
- Defined in:
- lib/clive/type/definitions.rb
Instance Method Summary collapse
Methods inherited from Object
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 |