Sha256: 5b4f60d44089e049a21a63b504cf04161e6dd7af36afb0bb9f18ef09c0285a5a

Contents?: true

Size: 281 Bytes

Versions: 15

Compression:

Stored size: 281 Bytes

Contents

# Reopening for paths... do differently?

class Livetext
  def self.get_path(dir = "")
    path = File.join(File.dirname(__FILE__), dir)
    File.expand_path(path)
  end

  Path    = self.get_path
  Plugins = self.get_path("../plugin")
  Imports = self.get_path("../imports")
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
livetext-0.9.42 lib/livetext/paths.rb
livetext-0.9.41 lib/livetext/paths.rb
livetext-0.9.40 lib/livetext/paths.rb
livetext-0.9.39 lib/livetext/paths.rb
livetext-0.9.38 lib/livetext/paths.rb
livetext-0.9.37 lib/livetext/paths.rb
livetext-0.9.36 lib/livetext/paths.rb
livetext-0.9.35 lib/livetext/paths.rb
livetext-0.9.33 lib/livetext/paths.rb
livetext-0.9.32 lib/livetext/paths.rb
livetext-0.9.31 lib/livetext/paths.rb
livetext-0.9.30 lib/livetext/paths.rb
livetext-0.9.27 lib/livetext/paths.rb
livetext-0.9.26 lib/livetext/paths.rb
livetext-0.9.25 lib/livetext/paths.rb