Skip to content

Instantly share code, notes, and snippets.

@fkino
Created September 5, 2016 05:34
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fkino/c4e73594b0e9eaea9621a273aa1fc6e8 to your computer and use it in GitHub Desktop.
Save fkino/c4e73594b0e9eaea9621a273aa1fc6e8 to your computer and use it in GitHub Desktop.
Code on the Bento Wrapping Paper at RubyKaigi 2016
eval(
%w( put
s(([ 2*7,
2*31 ,1,3
*3*5 ,2*2
*2*2 *3].
map{ |c|c
.to_ s(5*7
).gs ub("1 ","
\s") .upca se}.
zip( [2*5* 61*1
801, 2*5*3 931,
811* 1871, 2*11
*350 27,7* 11*1
259* 20389 *764
171].map{|c|c.to_s(2*2*3*3)}))*""))*"")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment