Sha256: 52ec1dde99165f96be13b4b8749ad40528225d5cb025a110d79f4679ea4cbdda

Contents?: true

Size: 295 Bytes

Versions: 2

Compression:

Stored size: 295 Bytes

Contents

#!/usr/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

2 entries across 2 versions & 1 rubygems

Version Path
ruby-internal-0.7.2 bin/ruby-internal-obfuscate
ruby-internal-0.7.1 bin/ruby-internal-obfuscate