Sha256: b4d8bc034ef954e6a522ff7165dd5dc60bc86776819a496b4522983a3cd96d1c

Contents?: true

Size: 416 Bytes

Versions: 101

Compression:

Stored size: 416 Bytes

Contents

#!/usr/bin/env ruby

def File::realpath(path)
  if File.symlink?(path)
    return self.realpath(File.readlink(path))
  end
  
  return path
end

knjdir = File.dirname(File.realpath(__FILE__)) + "/../"

require knjdir + "autoload"
require knjdir + "erb/include"

$knj_eruby = KnjEruby

filename = ENV["PATH_TRANSLATED"] if ENV and ENV["PATH_TRANSLATED"]
filename = ARGV[0] if ARGV and ARGV[0]

KnjEruby.load(filename)

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
knjrbfw-0.0.116 lib/knj/erb/erb.rb
knjrbfw-0.0.115 lib/knj/erb/erb.rb
knjrbfw-0.0.114 lib/knj/erb/erb.rb
knjrbfw-0.0.113 lib/knj/erb/erb.rb
knjrbfw-0.0.111 lib/knj/erb/erb.rb
knjrbfw-0.0.110 lib/knj/erb/erb.rb
knjrbfw-0.0.109 lib/knj/erb/erb.rb
knjrbfw-0.0.108 lib/knj/erb/erb.rb
knjrbfw-0.0.107 lib/knj/erb/erb.rb
knjrbfw-0.0.105 lib/knj/erb/erb.rb
knjrbfw-0.0.104 lib/knj/erb/erb.rb
knjrbfw-0.0.103 lib/knj/erb/erb.rb
knjrbfw-0.0.102 lib/knj/erb/erb.rb
knjrbfw-0.0.101 lib/knj/erb/erb.rb
knjrbfw-0.0.100 lib/knj/erb/erb.rb
knjrbfw-0.0.99 lib/knj/erb/erb.rb
knjrbfw-0.0.98 lib/knj/erb/erb.rb
knjrbfw-0.0.97 lib/knj/erb/erb.rb
knjrbfw-0.0.96 lib/knj/erb/erb.rb
knjrbfw-0.0.95 lib/knj/erb/erb.rb