Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ARGV Agent
- obj = Object.new
- def obj.some
- print "do some actions"
- end
- def obj.other
- print "do other actions"
- end
- if obj.respond_to? ARGV[0]
- obj.send ARGV[0]
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement