module NodeSpec

Constants

VERSION

Attributes

current_node[R]

Public Class Methods

set_current_node(name, options) { |current_node| ... } click to toggle source
# File lib/nodespec.rb, line 13
def set_current_node(name, options)
  @current_node = NodeConfigurations.instance.get(name, options)
  yield(@current_node) if block_given?
end