When rubygems/test_case is required the default user interaction is a MockGemUi
.
Module
that defines the default UserInteraction
. Any class including this module will have access to the ui
method that returns the default UI.
UserInteraction
allows RubyGems to interact with the user through standard methods that can be replaced with more-specific UI methods for different displays.
Since UserInteraction
dispatches to a concrete UI class you may need to reference other classes for specific behavior such as Gem::ConsoleUI
or Gem::SilentUI
.
Example:
class X include Gem::UserInteraction def get_answer n = ask("What is the meaning of life?") end end
Parser for XML-RPC call and response
This module enables a user-class to be marshalled by XML-RPC for Ruby into a Hash
, with one additional key/value pair _class___ => ClassName
Defines ParserWriterChooseMixin
, which makes it possible to choose a different XMLWriter
and/or XMLParser
then the default one.
The Mixin is used in client.rb (class XMLRPC::Client
) and server.rb (class XMLRPC::BasicServer
)
See the OpenSSL
documentation for EC_GROUP_*
See the OpenSSL
documentation for EC_POINT_*
Creates a new generic resource.
Creates a new DomainName
from name
.
Creates a new SOA
record. See the attr documentation for the details of each argument.
Creates a new HINFO
running os
on cpu
.
Creates a new MX
record with preference
, accepting mail at exchange
.