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
for gem in $(bundle exec gem list | awk '{ print $1 }'); do | |
grep -R --color 'create_with' $(bundle show $gem) | |
done |
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
def stat_values(values) | |
vs = values.map { |v| "['#{h v[0]}', #{v[1]}]" } | |
"[#{vs.join(',')}]" | |
end |
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
snippet giv | |
Given(:${4:condition}) { ${5:condition} } | |
When(:${2:result}) { ${3:result} } | |
Then { ${1:assertion} } |