Sha256: b820e87a3ab13e3c21a7ae8b2c7138f00234fb6ed2dc381291572db8376dd2a1

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

backend = ENV['METASM_GUI'] || (
	if RUBY_PLATFORM =~ /(i.86|x(86_)?64)-(mswin|mingw|cygwin)/i
		'win32'
	else
		begin
			require 'gtk2'
			'gtk'
		rescue LoadError
			raise LoadError, 'No GUI ruby binding installed - please install libgtk2-ruby'
		end
	end
)
require "metasm/gui/#{backend}"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
metasm-1.0.2 metasm/gui.rb