Skip to content

Instantly share code, notes, and snippets.

@saulius
Created February 19, 2010 08:11
Show Gist options
  • Save saulius/308541 to your computer and use it in GitHub Desktop.
Save saulius/308541 to your computer and use it in GitHub Desktop.
def valid?(*gws)
res = true
gws.flatten.each { |g|
check = g.valid?
res = res && check
}
return res
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment