Created
August 8, 2012 05:15
-
-
Save tomoyamkung/3292327 to your computer and use it in GitHub Desktop.
[Ruby]スクリプトのテンプレート
This file contains 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
#! ruby | |
#-*- encoding: utf-8 -*- | |
class Hoge | |
def initialize | |
end | |
def execute | |
end | |
end | |
if __FILE__ == $0 | |
obj = Hoge.new | |
obj.execute | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment