The get_attribute_ns
method retrieves a method by its namespace and name. Thus it is possible to reliably identify an attribute even if an XML
processor has changed the prefix.
Method
contributed by Henrik Martensson
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
Returns the first found remote TupleSpace
. Any further recovered TupleSpaces can be found by calling to_a
.
Display to the user that a gem couldn’t be found and reasons why
Make directories for index generation
Writes the full .gemspec specification (in Ruby) to the gem home’s specifications/default directory.
Creates windows .bat files for easy running of commands
Creates the scripts to run the applications in the gem.
Ensures the Gem::Specification
written out for this gem is loadable upon installation.
Return the text for an application file.
return the stub script text used to launch the true Ruby script
Writes the .gem file to the cache directory
Creates a Resolver
that queries only against the already installed gems for the needed
dependencies.
Returns the source encoding name as a string.
Returns the source encoding name as a string.