Sha256: e46577bb196434740c1bae91f0e089839f55ca2e4ffedfdf6bd66baf75255a76

Contents?: true

Size: 272 Bytes

Versions: 16

Compression:

Stored size: 272 Bytes

Contents

module Support
  module ProjectPathMacro

    project_path = Pathname.new(__FILE__).expand_path
    project_path = project_path.dirname until project_path.join("Rakefile").exist?

    PROJECT_PATH = project_path

    def project_path
      PROJECT_PATH
    end

  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
librarianp-1.1.2 spec/support/project_path_macro.rb
librarianp-1.1.1 spec/support/project_path_macro.rb
librarianp-1.1.0 spec/support/project_path_macro.rb
librarianp-1.0.0 spec/support/project_path_macro.rb
librarianp-0.6.4 spec/support/project_path_macro.rb
librarianp-0.6.3 spec/support/project_path_macro.rb
librarianp-0.6.2 spec/support/project_path_macro.rb
librarianp-0.6.1 spec/support/project_path_macro.rb
librarianp-0.6.0 spec/support/project_path_macro.rb
librarianp-0.5.1 spec/support/project_path_macro.rb
librarianp-0.5.0 spec/support/project_path_macro.rb
librarianp-0.4.0 spec/support/project_path_macro.rb
librarianp-0.3.0 spec/support/project_path_macro.rb
librarianp-0.2.0 spec/support/project_path_macro.rb
librarianp-0.1.2 spec/support/project_path_macro.rb
librarian-0.1.2 spec/support/project_path_macro.rb