The RubyGems version required by this gem
Set
the entity expansion limit. By default the limit is set to 10000.
Deprecated. Use REXML::Security.entity_expansion_limit=
instead.
Get the entity expansion limit. By default the limit is set to 10000.
Deprecated. Use REXML::Security.entity_expansion_limit=
instead.
Writes out text, substituting special characters beforehand. out
A String
, IO
, or any other object supporting <<( String
) input
the text to substitute and the write out
z=utf8.unpack("U*") ascOut="" z.each{|r| if r < 0x100 ascOut.concat(r.chr) else ascOut.concat(sprintf("&#x%x;", r)) end } puts ascOut
Reads text, substituting entities
Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.
True if the gems in the system satisfy dependency
.
Returns the destination encoding name as a string.
Returns the destination encoding name as a string.
Parses a C struct’s members
Example:
require 'fiddle/import' include Fiddle::CParser #=> Object parse_struct_signature(['int i', 'char c']) #=> [[Fiddle::TYPE_INT, Fiddle::TYPE_CHAR], ["i", "c"]] parse_struct_signature(['char buffer[80]']) #=> [[[Fiddle::TYPE_CHAR, 80]], ["buffer"]]