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.72 lib/knj/erb/erb.rb
knjrbfw-0.0.71 lib/knj/erb/erb.rb
knjrbfw-0.0.70 lib/knj/erb/erb.rb
knjrbfw-0.0.69 lib/knj/erb/erb.rb
knjrbfw-0.0.68 lib/knj/erb/erb.rb
knjrbfw-0.0.67 lib/knj/erb/erb.rb
knjrbfw-0.0.66 lib/knj/erb/erb.rb
knjrbfw-0.0.65 lib/knj/erb/erb.rb
knjrbfw-0.0.64 lib/knj/erb/erb.rb
knjrbfw-0.0.63 lib/knj/erb/erb.rb
knjrbfw-0.0.62 lib/knj/erb/erb.rb
knjrbfw-0.0.59 lib/knj/erb/erb.rb
knjrbfw-0.0.58 lib/knj/erb/erb.rb
knjrbfw-0.0.57 lib/knj/erb/erb.rb
knjrbfw-0.0.55 lib/knj/erb/erb.rb
knjrbfw-0.0.54 lib/knj/erb/erb.rb
knjrbfw-0.0.53 lib/knj/erb/erb.rb
knjrbfw-0.0.52 lib/knj/erb/erb.rb
knjrbfw-0.0.51 lib/knj/erb/erb.rb
knjrbfw-0.0.50 lib/knj/erb/erb.rb