Sha256: a5a99b0ccf9d556654f4152d6f6b65d188d3f9b732f13e7e2b7cb2a384ce4e53

Contents?: true

Size: 230 Bytes

Versions: 13

Compression:

Stored size: 230 Bytes

Contents

require 'ore/project'

module Helpers
  module Projects
    def project_dir(name)
      File.join(File.dirname(__FILE__),'projects',name)
    end

    def project(name)
      Ore::Project.find(project_dir(name))
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
ore-core-0.1.5 spec/helpers/projects.rb
ore-core-0.1.4 spec/helpers/projects.rb
ore-core-0.1.3 spec/helpers/projects.rb
ore-core-0.1.2 spec/helpers/projects.rb
ore-core-0.1.1 spec/helpers/projects.rb
ore-core-0.1.0 spec/helpers/projects.rb
ore-0.2.3 spec/helpers/projects.rb
ore-0.2.2 spec/helpers/projects.rb
ore-0.2.1 spec/helpers/projects.rb
ore-0.2.0 spec/helpers/projects.rb
ore-0.1.4 spec/helpers/projects.rb
ore-0.1.3 spec/helpers/projects.rb
ore-0.1.2 spec/helpers/projects.rb