Parent

Class/Module Index [+]

Quicksearch

Deltacloud::BaseDriver::Feature

A specific feature enabled by a driver (see feature)

Attributes

constraints[R]
decl[R]

Public Class Methods

new(decl, &block) click to toggle source
# File lib/deltacloud/base_driver/features.rb, line 80
def initialize(decl, &block)
  @decl = decl
  @constraints = {}
  instance_eval &block if block_given?
end

Public Instance Methods

constraint(name, value) click to toggle source
# File lib/deltacloud/base_driver/features.rb, line 98
def constraint(name, value)
  @constraints[name] = value
end
description() click to toggle source
# File lib/deltacloud/base_driver/features.rb, line 94
def description
  decl.description
end
name() click to toggle source
# File lib/deltacloud/base_driver/features.rb, line 86
def name
  decl.name
end
operations() click to toggle source
# File lib/deltacloud/base_driver/features.rb, line 90
def operations
  decl.operations
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.