Module: OpenNebula

Defined in:
lib/OpenNebula/Acl.rb,
lib/OpenNebula/User.rb,
lib/OpenNebula/Pool.rb,
lib/OpenNebula/Host.rb,
lib/OpenNebula/Image.rb,
lib/OpenNebula/Group.rb,
lib/OpenNebula/AclPool.rb,
lib/OpenNebula/UserPool.rb,
lib/OpenNebula/XMLUtils.rb,
lib/OpenNebula/HostPool.rb,
lib/OpenNebula/Template.rb,
lib/OpenNebula/ImagePool.rb,
lib/OpenNebula/GroupPool.rb,
lib/OpenNebula/OpenNebula.rb,
lib/OpenNebula/TemplatePool.rb,
lib/OpenNebula/VirtualMachine.rb,
lib/OpenNebula/VirtualNetwork.rb,
lib/OpenNebula/VirtualNetworkPool.rb,
lib/OpenNebula/VirtualMachinePool.rb

Defined Under Namespace

Classes: Acl, AclPool, Client, Error, Group, GroupPool, Host, HostPool, Image, ImagePool, Pool, PoolElement, Template, TemplatePool, User, UserPool, VirtualMachine, VirtualMachinePool, VirtualNetwork, VirtualNetworkPool, XMLElement, XMLPool

Class Method Summary (collapse)

Class Method Details

+ (Boolean) is_error?(value)

Returns true if the object returned by a method of the OpenNebula library is an Error

Returns:

  • (Boolean)


78
79
80
# File 'lib/OpenNebula/OpenNebula.rb', line 78

def self.is_error?(value)
    value.class==OpenNebula::Error
end