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.7.0 lib/ardb/root_path.rb
ardb-0.6.0 lib/ardb/root_path.rb
ardb-0.5.0 lib/ardb/root_path.rb
ardb-0.4.1 lib/ardb/root_path.rb
ardb-0.4.0 lib/ardb/root_path.rb
ardb-0.3.0 lib/ardb/root_path.rb
ardb-0.2.0 lib/ardb/root_path.rb