class Aruba::Contracts::AbsolutePath
Check if path is absolute
Public Class Methods
Source
# File lib/aruba/contracts/absolute_path.rb, line 13 def self.valid?(value) Aruba.platform.absolute_path? value rescue StandardError false end
Check
@param [Object] value
The value to be checked