Created
November 5, 2011 09:20
-
-
Save bikisuke/1341309 to your computer and use it in GitHub Desktop.
合宿の自己紹介・改
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class JGGUG { | |
static TODOリスト = ['次回ぐるーびーたんのネーム作成', '次回Gマガの記事準備', 'Grails日本語ドキュメントの校正'] | |
static def 合宿でやりたいこと = { | |
println delegate.getSimpleName() + this.metaClass.getProperties().find { it.type == Object.class }.name + 'は、' | |
TODOリスト.each { println ' ・' + it } | |
println 'です。\n' | |
println 'よろしくお願いします。' | |
} | |
} | |
class 綿引琢磨 { | |
綿引琢磨() { | |
println """こんにちは。${this.class.getSimpleName()} です。 | |
アラフォーどまんなかの39歳、独身です。 | |
twitter id は @bikisuke です。 | |
""" | |
} | |
def 自己紹介(Closure... c) { | |
c.each { it.call() } | |
} | |
} | |
new 綿引琢磨().自己紹介 JGGUG.合宿でやりたいこと |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment