Parent

Methods

Class/Module Index [+]

Quicksearch

Deltacloud::ExceptionHandler::Exceptions

Attributes

exception_definitions[R]

Public Class Methods

new(&block) click to toggle source
# File lib/deltacloud/base_driver/exceptions.rb, line 133
def initialize(&block)
  @exception_definitions = []
  instance_eval(&block) if block_given?
  self
end

Public Instance Methods

on(*conditions, &block) click to toggle source
# File lib/deltacloud/base_driver/exceptions.rb, line 139
def on(*conditions, &block)
  @exception_definitions << ExceptionDef::new(conditions, &block) if block_given?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.