Created
February 6, 2009 16:18
-
-
Save TwP/59460 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
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