Sha256: a3c71941c9040ee4cdf5241aea6f1386865240de4b23bb39c3a9279893ab410d

Contents?: true

Size: 335 Bytes

Versions: 27

Compression:

Stored size: 335 Bytes

Contents

# This takes a path string relative to the configured root path and tranforms
# to the full qualifed root path.  The goal here is to specify path options
# with root-relative path strings.

module Ardb; end
class Ardb::RootPath < String

  def initialize(path_string)
    super(Ardb.config.root_path.join(path_string).to_s)
  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ardb-0.26.0 lib/ardb/root_path.rb
ardb-0.25.0 lib/ardb/root_path.rb
ardb-0.24.0 lib/ardb/root_path.rb
ardb-0.23.0 lib/ardb/root_path.rb
ardb-0.22.1 lib/ardb/root_path.rb
ardb-0.22.0 lib/ardb/root_path.rb
ardb-0.21.0 lib/ardb/root_path.rb
ardb-0.20.0 lib/ardb/root_path.rb
ardb-0.19.0 lib/ardb/root_path.rb
ardb-0.18.0 lib/ardb/root_path.rb
ardb-0.17.0 lib/ardb/root_path.rb
ardb-0.16.0 lib/ardb/root_path.rb
ardb-0.15.0 lib/ardb/root_path.rb
ardb-0.14.0 lib/ardb/root_path.rb
ardb-0.13.0 lib/ardb/root_path.rb
ardb-0.12.0 lib/ardb/root_path.rb
ardb-0.11.0 lib/ardb/root_path.rb
ardb-0.10.0 lib/ardb/root_path.rb
ardb-0.9.0 lib/ardb/root_path.rb
ardb-0.8.0 lib/ardb/root_path.rb