dannypurcell / rubycom

Turn your library into a command-line app by simply including Rubycom.
http://dannypurcell.github.io/rubycom/
MIT License
5 stars 0 forks source link

Command runner should print method return #4

Closed dannypurcell closed 11 years ago

dannypurcell commented 11 years ago

Add a puts to the method call output. Convert whatever is returned by the method to a string. (Can possibly use YAML to serialize that output)

dannypurcell commented 11 years ago

Resolved with: 776efebcecd70ef767cf44c13c3d2cea9b926a04 Using Yaml for complex objects. Standard puts for simple objects like Strings, Numbers, and Booleans.