Created
January 3, 2014 15:26
-
-
Save pestefo/8239685 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
|builder| | |
builder := ROPunchcardBuilder new. | |
builder addModels: #( 'Sed' 'molestie' 'nec' 'nisi quis' 'vestibulum' 'Morbi tempus' 'luctus' 'commodo' ). | |
builder addMetric: [:word | word size] namedAs: 'length'. | |
builder addMetric: [:word | word size * 3 ] namedAs: 'length * 3'. | |
builder addMetric: [:word | word size / 2 ] namedAs: 'length / 2'. | |
builder minColor: Color green. | |
builder maxColor: Color red. | |
builder open. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment