Method: Cowsapi::App#dimensions
- Defined in:
- app/app.rb
#dimensions ⇒ Object
46 47 48 49 50 |
# File 'app/app.rb', line 46 def dimensions x = params[:x].nil? ? 320 : params[:x] y = params[:y].nil? ? 240 : params[:y] "-size #{x}x#{y}" end |