Skip to content

Instantly share code, notes, and snippets.

View gAmUssA's full-sized avatar
so hard

Viktor Gamov gAmUssA

so hard
View GitHub Profile
class Person {
@Require( { it ==~ /[a-z A-Z]*/ } )
String name
@Require( { it in (0..130) } )
int age
}
def validator = new Validator()
{
"globals": {
"console": false,
"jQuery": false,
"_": false
},
"maxparams": 5,
"maxdepth": 5,
"maxstatements": 25,
"maxcomplexity": 10,