Last active
December 14, 2015 19:19
-
-
Save vinbarnes/5136179 to your computer and use it in GitHub Desktop.
I'd prefer the second way unless there's some weird Ruby reason why I shouldn't...
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
module My | |
module Job | |
class ReconcileAccounts | |
# ... | |
end | |
end | |
end |
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
module My; end | |
module My::Job; end | |
class My::Job::ReconcileAccounts | |
# ... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ahh nice, I always forget about Module/Class.new. Go with that.