Sha256: aee773cb14651644335df5ae8f0a3e98454374e1acc2d7aa06e41ef746a2641e

Contents?: true

Size: 289 Bytes

Versions: 3

Compression:

Stored size: 289 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 ruby-gtk2'
		end
	end
)
require "metasm/gui/#{backend}"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metasm-1.0.5 metasm/gui.rb
metasm-1.0.4 metasm/gui.rb
metasm-1.0.3 metasm/gui.rb