Class: Pathname
Instance Method Summary collapse
Instance Method Details
#absolute? ⇒ Boolean
44 45 46 |
# File 'lib/puppet/util/monkey_patches.rb', line 44 def absolute? ABSOLUTE_PATH.match? @path end |
#relative? ⇒ Boolean
48 49 50 |
# File 'lib/puppet/util/monkey_patches.rb', line 48 def relative? !absolute? end |