Method: Mu::Command::Cmd_scale#cmd_pattern
- Defined in:
- lib/mu/command/cmd_scale.rb
#cmd_pattern(argv) ⇒ Object
returns scale test data for charting
* argv = command-line arguments, requires:
* zoom (z) level
* position(-p 0)
125 126 127 128 129 130 131 132 133 134 135 136 |
# File 'lib/mu/command/cmd_scale.rb', line 125 def cmd_pattern argv setup argv begin zoom = @hash['zoom'] position = @hash['view_position'] response = @api.pattern(zoom, position) rescue => e msg e end msg response return response end |