Method: IB::SpreadPrototype#parameters

Defined in:
lib/ib/spread-prototypes.rb

#parametersObject



48
49
50
51
52
53
54
# File 'lib/ib/spread-prototypes.rb', line 48

def parameters
	the_output = ->(var){ var.empty? ? "none" : var.map{|x| x.join(" --> ") }.join("\n\t: ")}

	"Required : " + the_output[requirements] + "\n --------------- \n" +
		"Optional : " + the_output[optional] + "\n --------------- \n" 

end