new

new( first, parent=nil ) Class Public methods Constructor dt = DocType.new( 'foo', '-//I/Hate/External/IDs' ) # <!DOCTYPE foo '-//I/Hate/External/IDs'> dt = DocType.new( doctype_to_clone ) # Incomplete. Shallow clone of doctype Note that the constructor: Doctype.new( Source.new( "<!DOCTYPE foo 'bar'>" ) ) is deprecated. Do not use it. It will probably disappear.

package_version

package_version() Class Public methods

sh

sh(*cmd, &block) Instance Public methods Run the system command cmd. If multiple arguments are given the command is not run with the shell (same semantics as Kernel::exec and Kernel::system). Example: sh %{ls -ltr} sh 'ls', 'file with spaces' # check exit status after command runs sh %{grep pattern file} do |ok, res| if ! ok puts "pattern not found (status = #{res.exitstatus})" end end

kanjifont_copy

kanjifont_copy(win, wintag=nil) Instance Public methods

ipv4?

addrinfo.ipv4? => true or false Instance Public methods returns true if addrinfo is IPv4 address. returns false otherwise. Addrinfo.tcp("127.0.0.1", 80).ipv4? #=> true Addrinfo.tcp("::1", 80).ipv4? #=> false Addrinfo.unix("/tmp/sock").ipv4? #=> false

package_name

package_name() Class Public methods

open_server

open_server(uri, config) Class Public methods Returns a DRb::DRbSSLSocket instance as a server-side connection, with the SSL connected. This is called from DRb.start_service or while connecting to a remote object: DRb.start_service 'drbssl://localhost:0', front, config uri is the URI we are connected to, 'drbssl://localhost:0' above, config is our configuration. Either a Hash or DRb::DRbSSLSocket::SSLConfig

execute

execute() Instance Public methods Override to provide command handling. options will be filled in with your parsed options, unparsed options will be left in options[:args]. See also: get_all_gem_names, get_one_gem_name, get_one_optional_argument

replace

replace(other) Instance Public methods

background_eval_proc

background_eval_proc(*args, &blk) Class Public methods Alias for: bg_eval_proc