16 lines
409 B
Groovy
16 lines
409 B
Groovy
/** Ye olde classe declaration */
|
|
class Stuff {
|
|
/** Heare bee anne instance variable declared */
|
|
def guts
|
|
|
|
/** This constructor converts bits into Stuff */
|
|
Stuff(injectedGuts) {
|
|
guts = injectedGuts
|
|
}
|
|
|
|
/** Brethren and sistren, let us flangulate with this fine flangulating method */
|
|
def flangulate() {
|
|
println "This stuff is flangulating its guts: ${guts}"
|
|
}
|
|
}
|