4 5 6 7 8 9 10 11
# File 'lib/utils/root_path.rb', line 4 def root( *args ) if args.length > 0 args.unshift( @root_path ) FilePath.new( *args ) else FilePath.new( @root_path ) end end
13 14 15
# File 'lib/utils/root_path.rb', line 13 def set_root_path( path ) @root_path = FilePath.new( path ) end