Sha256: ffefb0685b0a258a75dad66b6605dbc91e01c8341823fde1ed8a651c06e48fb5

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

#! /home/cout/.rvm/rubies/ruby-1.9.2-p318/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.7.3 bin/ruby-internal-obfuscate