Created
November 22, 2013 03:49
-
-
Save cowboy-cod3r/7594518 to your computer and use it in GitHub Desktop.
Ruby Class Template
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 MyPackage | |
# == Description | |
# A Description of the class | |
class MyClass | |
# Accessors | |
attr_accessor :attr1, :attr2 | |
# ==== Description | |
# Constructor | |
def initalize() | |
# Do Stuff | |
end | |
# ==== Description | |
# A Description of the method | |
# | |
# ==== Arguments | |
# * +arg1+ - [String] - Description | |
# | |
# ==== Raises | |
# Exception | |
# | |
# ==== Returns | |
# [String] | |
public | |
def my_method | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment