Sha256: ded17463439af785272e51c39a622f1987b453a85807431a26e2d25ee4d8e8fb

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

#! /home/cout/.rvm/rubies/ruby-1.8.7-p358/bin/ruby

require 'internal/node/obfusc'

filename = ARGV[0]

if not filename then
  puts "Usage: #{$0} <filename>"
  exit 1
fi

str = File.read(filename)

node = Node.compile_string(str)

# TODO: Should the whole program be obfuscated or just this module?
str = node.obfusc()

puts str

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-internal-0.8.0 bin/ruby-internal-obfuscate