summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@puppetlabs.com>2011-03-25 12:39:13 -0700
committerLuke Kanies <luke@puppetlabs.com>2011-03-25 14:32:03 -0700
commit29268f3fda3c6e29f60d05e5aa387ff0424e7b1e (patch)
tree618a97d95f843f59091f33645b976d7e1417c8c6 /lib/puppet/util/rdoc/code_objects.rb
parentda082d500e1f1192dbc987483d753d93b5698094 (diff)
downloadpuppet-29268f3fda3c6e29f60d05e5aa387ff0424e7b1e.tar.gz
puppet-29268f3fda3c6e29f60d05e5aa387ff0424e7b1e.tar.xz
puppet-29268f3fda3c6e29f60d05e5aa387ff0424e7b1e.zip
Fixing Module#path detection
For some reason FileTest.exist? was returning false, and FileTest.directory? returns true. I've also added much better tests for this behavior. Signed-off-by: Luke Kanies <luke@puppetlabs.com> Reviewed-by: Daniel Pittman <daniel@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions