Method: Wandbox::Compiler#options

Defined in:
lib/wandbox/compiler.rb

#optionsObject



25
26
27
28
# File 'lib/wandbox/compiler.rb', line 25

def options
	options = self["switches"].select &arg1["type"] == "single"
	options + self["switches"].select(&arg1["type"] == "select").map(&arg1["options"]).flatten
end