Skip to content

Instantly share code, notes, and snippets.

@TwP
Created February 6, 2009 16:18
Show Gist options
  • Save TwP/59460 to your computer and use it in GitHub Desktop.
Save TwP/59460 to your computer and use it in GitHub Desktop.
Config.new {
_'the description of the next variable'
foo 42
_'the description of bar'
bar {
_'the description of baz'
baz 3.14159
}
}
Config.new {
desc 'the description of the next variable'
foo 42
desc 'the description of bar'
bar {
desc 'the description of baz'
baz 3.14159
}
}
Config.new {
foo 42, :desc => 'the description of foo'
bar( :desc => 'the description of bar') {
baz 3.14159, :desc => 'the description of baz'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment