Skip to content

Instantly share code, notes, and snippets.

@rolandobrown
Last active August 27, 2015 03:18
Show Gist options
  • Save rolandobrown/bdc016bb38431667a476 to your computer and use it in GitHub Desktop.
Save rolandobrown/bdc016bb38431667a476 to your computer and use it in GitHub Desktop.
run_file.rb NESTED FORMS
$ cat run_file.rb
# route_found? = true
$ bundle
# Fetching gem metadata from https://rubygems.org/.........
# Using sinatra 1.4.6
# Bundle complete! 1 Gemfile dependencies, 35 gems now installed.
# Use `bundle show [gemname]` to see where a bundled gem is installed.
$ cat recursive_open_struct.rb
# ...
# ros = RecursiveOpenStruct.new( { :fav => { :nesting_place => 'RecursiveOpenStruct' } } )
# ros.fav.nesting_place
$ open https://play.spotify.com/track/1qWLqI629DQmVAcfxWV8ZZ
# The Way You Look Tonight...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment