Yields each message to the passed-in block in turn. Equivalent to:
pop3.mails.each do |popmail| .... end
This method raises a POPError
if an error occurs.
Main name of the switch.
Iterates over the attributes of an Element
. Yields actual Attribute
nodes, not String
values.
doc = Document.new '<a x="1" y="2"/>' doc.root.attributes.each_attribute {|attr| p attr.expanded_name+" => "+attr.value }
Defaults to use Ruby’s program prefix and suffix.
This is ported over from the yaml_tree in 1.9.3
File
Fetcher. Dispatched by fetch_path
. Use it instead.
HTTP Fetcher. Dispatched by fetch_path
. Use it instead.
Returns the size of uri
in bytes.
Returns true when it is possible and safe to update the cache directory.
Fetches a specification for the given name_tuple
.
Implementation for Specification#validate_metadata