Sha256: e0f5a64332e901ebc90d9490fc1a750209c8fa2fa1f43dd28218f6f91838fe99

Contents?: true

Size: 131 Bytes

Versions: 12

Compression:

Stored size: 131 Bytes

Contents

module ::Rails
  class << self
    def root
      @root ||= Pathname.new(Dir.pwd).realpath.join('spec', 'dummy')
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
webvalve-2.0.3 spec/support/rails_root.rb
webvalve-2.0.2 spec/support/rails_root.rb
webvalve-2.0.0 spec/support/rails_root.rb
webvalve-1.3.1 spec/support/rails_root.rb
webvalve-1.3.0 spec/support/rails_root.rb
uncruft-0.3.0 spec/support/rails_root.rb
webvalve-1.2.0 spec/support/rails_root.rb
uncruft-0.2.1 spec/support/rails_root.rb
uncruft-0.2.0 spec/support/rails_root.rb
uncruft-0.1.0 spec/support/rails_root.rb
uncruft-0.0.2 spec/support/rails_root.rb
uncruft-0.0.1 spec/support/rails_root.rb