7 8 9 10 11
# File 'lib/rmonitor/profile/builder.rb', line 7 def define(name, options = {}, &block) dsl = RMonitor::Profile::DSL.new dsl.instance_eval &block options.merge :name => name, :devices => dsl.devices end