lib/scrapple/file_system_bag.rb
# The list of rc files for a page
The list of rc files for a page
The list of rc files for a page
def rc_files(path)
      path = rewrite(path)
      rcs = []
      Pathname.new("/"+path.to_s).ascend { |pa| rcs << (pa + Scrapple.config['rc_file']) }
      rcs.map { |rc| relative(rc) }.select { |rc| exist?(rc) }
    end
def rc_files ( path ) path = rewrite ( path ) rcs = [ ] Pathname . new ( "/" + path . to_s ) . ascend { | pa | rcs << ( pa + Scrapple . config [ 'rc_file' ] ) } rcs . map { | rc | relative ( rc ) } . select { | rc | exist? ( rc ) } end
The list of rc files for a page
The list of rc files for a page
path
<not_specific>