Sha256: 5ecfa6208ccf817ee322ba334c0ee05f37b9bfeef92631564a8f57f45a1aad8d

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

module Helpers
  module Path
    def path *filename
      Pathname.new(full_path *filename).cleanpath
    end

    private

    def full_path *filename
      full_path = File.join File.dirname(__FILE__), '..', '..', '..', '..', '..', *filename
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rambling-trie-0.9.0 lib/rambling/trie/tasks/helpers/path.rb