给添加一下注释呗
ruby吧
全部回复
仅看楼主
level 1
大春啵cw 楼主
Shoes.app(width: 300, height: 400) do
fill rgb(0, 0.6, 0.9, 0.1)
stroke rgb(0, 0.6, 0.9)
strokewidth 0.25
100.times do
oval(left: (-5..self.width).rand,
top: (-5..self.height).rand,
radius: (25..50).rand)
end
end
2014年10月14日 07点10分 1
level 6
不要用shoes了,这个项目不靠谱,在gem的处理上根本搞不定,你想开发本地应用可以用ocra打包一个sinatra,然后浏览器操作
2014年11月03日 10点11分 2
1