Method: Roby::Planning::Library#method

Defined in:
lib/roby/planning/model.rb

#method(name, options = Hash.new, &body) ⇒ Object



848
849
850
851
852
853
# File 'lib/roby/planning/model.rb', line 848

def method(name, options = Hash.new, &body)
		if body && default_options
 options = default_options.merge(options)
		end
		planning_methods << [name, options, body]
end