Created
March 4, 2018 01:21
-
-
Save maxdignan/629a767c1b83c5cdd437c05fb1f9855a to your computer and use it in GitHub Desktop.
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
require 'ostruct' #needed, but available in Ruby. | |
os = OpenStruct.new | |
os.method_name = "here's your value you want" | |
os.method_name #-> "here's your value you want" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment