Groovy web console

subscribe to the feed Subscribe
to this
site

test

Published 5 months ago by test
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
class MetaClass{
	static main(dummy){
  String.metaClass.testFunction{
   delegate + "!!!"
  }
  
  println "Good".testFunction()
	} 
	
}
/*
Success #stdin #stdout 2.08s 141428KB
Good!!!
*/