Class: Tgui::Util
- Inherits:
-
ExternObject
- Object
- ExternObject
- Tgui::Util
- Defined in:
- lib/white_gold/dsl/util.rb,
lib/white_gold/generated/tgui-abi-loader.gf.rb
Instance Attribute Summary
Attributes inherited from ExternObject
Class Method Summary collapse
Methods inherited from ExternObject
abi_attr, abi_bit_enum, abi_def, abi_enum, #abi_pack, abi_signal, abi_static, #abi_unpack, callback_storage, callback_storage=, data_storage=, finalizer, global_callback_storage, global_callback_storage=, #initialize, #initialized, self_abi_def, self_abi_def_setter
Methods included from Packer
#abi_pack, #abi_packer, #abi_packer_method_name
Methods included from Unpacker
#abi_unpack, #abi_unpacker, #abi_unpacker_method_name
Methods included from BangDef
Constructor Details
This class inherits a constructor from ExternObject
Class Method Details
._abi_free(*a) ⇒ Object
801 |
# File 'lib/white_gold/generated/tgui-abi-loader.gf.rb', line 801 def self._abi_free(*a); Abi.call_arg_map! a; Abi.ABI_STATIC_Util_free(*a); end |
.expand_path(path, exist: true) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/white_gold/dsl/util.rb', line 8 def self. path, exist: true if !path.match?(/^\w:\//) # TODO UNIX path = File.(path, File.dirname(ENV["OCRAN_EXECUTABLE"] || $0)) end raise "File #{path} not found" if exist && !File.exist?(path) path end |