simpler-tiles 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,11 +100,10 @@
100
100
 
101
101
  <h2>Overview</h2><div class="docstring">
102
102
  <div class="discussion">
103
- <p>
104
- The Map object is the root of the style declaration for SimplerTiles. It
103
+
104
+ <p>The Map object is the root of the style declaration for SimplerTiles. It
105
105
  wraps the methods in Simple Tiles and tracks projection, width, height and
106
- contains a list of Layer objects.
107
- </p>
106
+ contains a list of Layer objects.</p>
108
107
 
109
108
 
110
109
  </div>
@@ -143,9 +142,8 @@ contains a list of Layer objects.
143
142
 
144
143
 
145
144
 
146
- <span class="summary_desc"><div class='inline'><p>
147
- Create and return a <span class='object_link'><a href="Layer.html" title="SimplerTiles::Layer (class)">Layer</a></span> based on the passed in string.
148
- </p>
145
+ <span class="summary_desc"><div class='inline'>
146
+ <p>Create and return a <span class='object_link'><a href="Layer.html" title="SimplerTiles::Layer (class)">Layer</a></span> based on the passed in string.</p>
149
147
  </div></span>
150
148
 
151
149
  </li>
@@ -167,10 +165,9 @@ Create and return a <span class='object_link'><a href="Layer.html" title="Simple
167
165
 
168
166
 
169
167
 
170
- <span class="summary_desc"><div class='inline'><p>
171
- A convienence method to use Active Record configuration and add a new
172
- layer.
173
- </p>
168
+ <span class="summary_desc"><div class='inline'>
169
+ <p>A convienence method to use Active Record configuration and add a new
170
+ layer.</p>
174
171
  </div></span>
175
172
 
176
173
  </li>
@@ -192,9 +189,8 @@ layer.
192
189
 
193
190
 
194
191
 
195
- <span class="summary_desc"><div class='inline'><p>
196
- Return a copy of the background color of the map.
197
- </p>
192
+ <span class="summary_desc"><div class='inline'>
193
+ <p>Return a copy of the background color of the map.</p>
198
194
  </div></span>
199
195
 
200
196
  </li>
@@ -216,9 +212,8 @@ Return a copy of the background color of the map.
216
212
 
217
213
 
218
214
 
219
- <span class="summary_desc"><div class='inline'><p>
220
- Set the background color of the map.
221
- </p>
215
+ <span class="summary_desc"><div class='inline'>
216
+ <p>Set the background color of the map.</p>
222
217
  </div></span>
223
218
 
224
219
  </li>
@@ -240,9 +235,8 @@ Set the background color of the map.
240
235
 
241
236
 
242
237
 
243
- <span class="summary_desc"><div class='inline'><p>
244
- Return the bounds of this map.
245
- </p>
238
+ <span class="summary_desc"><div class='inline'>
239
+ <p>Return the bounds of this map.</p>
246
240
  </div></span>
247
241
 
248
242
  </li>
@@ -264,9 +258,8 @@ Return the bounds of this map.
264
258
 
265
259
 
266
260
 
267
- <span class="summary_desc"><div class='inline'><p>
268
- Get the Map&#8217;s buffer.
269
- </p>
261
+ <span class="summary_desc"><div class='inline'>
262
+ <p>Get the Map's buffer.</p>
270
263
  </div></span>
271
264
 
272
265
  </li>
@@ -288,9 +281,8 @@ Get the Map&#8217;s buffer.
288
281
 
289
282
 
290
283
 
291
- <span class="summary_desc"><div class='inline'><p>
292
- Set the buffer on the Map.
293
- </p>
284
+ <span class="summary_desc"><div class='inline'>
285
+ <p>Set the buffer on the Map.</p>
294
286
  </div></span>
295
287
 
296
288
  </li>
@@ -312,10 +304,8 @@ Set the buffer on the Map.
312
304
 
313
305
 
314
306
 
315
- <span class="summary_desc"><div class='inline'><p>
316
- Return the bounds of this map sized according to it&#8217;s buffer
317
- attribute.
318
- </p>
307
+ <span class="summary_desc"><div class='inline'>
308
+ <p>Return the bounds of this map sized according to it's buffer attribute.</p>
319
309
  </div></span>
320
310
 
321
311
  </li>
@@ -337,9 +327,8 @@ attribute.
337
327
 
338
328
 
339
329
 
340
- <span class="summary_desc"><div class='inline'><p>
341
- Get the height of the map.
342
- </p>
330
+ <span class="summary_desc"><div class='inline'>
331
+ <p>Get the height of the map.</p>
343
332
  </div></span>
344
333
 
345
334
  </li>
@@ -361,9 +350,8 @@ Get the height of the map.
361
350
 
362
351
 
363
352
 
364
- <span class="summary_desc"><div class='inline'><p>
365
- Set the height of the Map.
366
- </p>
353
+ <span class="summary_desc"><div class='inline'>
354
+ <p>Set the height of the Map.</p>
367
355
  </div></span>
368
356
 
369
357
  </li>
@@ -387,9 +375,8 @@ Set the height of the Map.
387
375
 
388
376
 
389
377
 
390
- <span class="summary_desc"><div class='inline'><p>
391
- A new instance of Map.
392
- </p>
378
+ <span class="summary_desc"><div class='inline'>
379
+ <p>A new instance of Map.</p>
393
380
  </div></span>
394
381
 
395
382
  </li>
@@ -411,9 +398,8 @@ A new instance of Map.
411
398
 
412
399
 
413
400
 
414
- <span class="summary_desc"><div class='inline'><p>
415
- Add a layer to the c list of layers and yield the new layer.
416
- </p>
401
+ <span class="summary_desc"><div class='inline'>
402
+ <p>Add a layer to the c list of layers and yield the new layer.</p>
417
403
  </div></span>
418
404
 
419
405
  </li>
@@ -435,9 +421,8 @@ Add a layer to the c list of layers and yield the new layer.
435
421
 
436
422
 
437
423
 
438
- <span class="summary_desc"><div class='inline'><p>
439
- Render the Map to the filesystem.
440
- </p>
424
+ <span class="summary_desc"><div class='inline'>
425
+ <p>Render the Map to the filesystem.</p>
441
426
  </div></span>
442
427
 
443
428
  </li>
@@ -459,9 +444,8 @@ Render the Map to the filesystem.
459
444
 
460
445
 
461
446
 
462
- <span class="summary_desc"><div class='inline'><p>
463
- Set the bounds on the map.
464
- </p>
447
+ <span class="summary_desc"><div class='inline'>
448
+ <p>Set the bounds on the map.</p>
465
449
  </div></span>
466
450
 
467
451
  </li>
@@ -483,9 +467,8 @@ Set the bounds on the map.
483
467
 
484
468
 
485
469
 
486
- <span class="summary_desc"><div class='inline'><p>
487
- Set the size in pixels of the final map.
488
- </p>
470
+ <span class="summary_desc"><div class='inline'>
471
+ <p>Set the size in pixels of the final map.</p>
489
472
  </div></span>
490
473
 
491
474
  </li>
@@ -507,9 +490,8 @@ Set the size in pixels of the final map.
507
490
 
508
491
 
509
492
 
510
- <span class="summary_desc"><div class='inline'><p>
511
- Set the map to be slippy via passed in parameters.
512
- </p>
493
+ <span class="summary_desc"><div class='inline'>
494
+ <p>Set the map to be slippy via passed in parameters.</p>
513
495
  </div></span>
514
496
 
515
497
  </li>
@@ -531,9 +513,8 @@ Set the map to be slippy via passed in parameters.
531
513
 
532
514
 
533
515
 
534
- <span class="summary_desc"><div class='inline'><p>
535
- Return the projection for the map in string representation.
536
- </p>
516
+ <span class="summary_desc"><div class='inline'>
517
+ <p>Return the projection for the map in string representation.</p>
537
518
  </div></span>
538
519
 
539
520
  </li>
@@ -555,9 +536,8 @@ Return the projection for the map in string representation.
555
536
 
556
537
 
557
538
 
558
- <span class="summary_desc"><div class='inline'><p>
559
- Set the projection from an Proj.4 readable string.
560
- </p>
539
+ <span class="summary_desc"><div class='inline'>
540
+ <p>Set the projection from an Proj.4 readable string.</p>
561
541
  </div></span>
562
542
 
563
543
  </li>
@@ -579,9 +559,8 @@ Set the projection from an Proj.4 readable string.
579
559
 
580
560
 
581
561
 
582
- <span class="summary_desc"><div class='inline'><p>
583
- Render the data to a blob of png data.
584
- </p>
562
+ <span class="summary_desc"><div class='inline'>
563
+ <p>Render the data to a blob of png data.</p>
585
564
  </div></span>
586
565
 
587
566
  </li>
@@ -603,9 +582,8 @@ Render the data to a blob of png data.
603
582
 
604
583
 
605
584
 
606
- <span class="summary_desc"><div class='inline'><p>
607
- Render the map to a png stream and yield values to the passed in block.
608
- </p>
585
+ <span class="summary_desc"><div class='inline'>
586
+ <p>Render the map to a png stream and yield values to the passed in block.</p>
609
587
  </div></span>
610
588
 
611
589
  </li>
@@ -627,9 +605,8 @@ Render the map to a png stream and yield values to the passed in block.
627
605
 
628
606
 
629
607
 
630
- <span class="summary_desc"><div class='inline'><p>
631
- Test to see if the Map has fulfilled the requirements for rendering.
632
- </p>
608
+ <span class="summary_desc"><div class='inline'>
609
+ <p>Test to see if the Map has fulfilled the requirements for rendering.</p>
633
610
  </div></span>
634
611
 
635
612
  </li>
@@ -651,9 +628,8 @@ Test to see if the Map has fulfilled the requirements for rendering.
651
628
 
652
629
 
653
630
 
654
- <span class="summary_desc"><div class='inline'><p>
655
- Get the width of the map.
656
- </p>
631
+ <span class="summary_desc"><div class='inline'>
632
+ <p>Get the width of the map.</p>
657
633
  </div></span>
658
634
 
659
635
  </li>
@@ -675,9 +651,8 @@ Get the width of the map.
675
651
 
676
652
 
677
653
 
678
- <span class="summary_desc"><div class='inline'><p>
679
- Set the width of the Map.
680
- </p>
654
+ <span class="summary_desc"><div class='inline'>
655
+ <p>Set the width of the Map.</p>
681
656
  </div></span>
682
657
 
683
658
  </li>
@@ -708,9 +683,8 @@ Set the width of the Map.
708
683
 
709
684
  </p><div class="docstring">
710
685
  <div class="discussion">
711
- <p>
712
- A new instance of Map
713
- </p>
686
+
687
+ <p>A new instance of Map</p>
714
688
 
715
689
 
716
690
  </div>
@@ -743,9 +717,8 @@ A new instance of Map
743
717
 
744
718
 
745
719
  &mdash;
746
- <div class='inline'><p>
747
- the object that the method was called on
748
- </p>
720
+ <div class='inline'>
721
+ <p>the object that the method was called on</p>
749
722
  </div>
750
723
 
751
724
  </li>
@@ -765,10 +738,9 @@ the object that the method was called on
765
738
  <td>
766
739
  <pre class="code"><span class="info file"># File 'lib/simpler_tiles/map.rb', line 8</span>
767
740
 
768
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span>
769
- <span class='rubyid_yield yield kw'>yield</span> <span class='rubyid_self self kw'>self</span> <span class='rubyid_if if_mod kw'>if</span> <span class='rubyid_block_given? fid id'>block_given?</span>
770
- <span class='rubyid_end end kw'>end</span>
771
- </pre>
741
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
742
+ <span class='kw'>yield</span> <span class='kw'>self</span> <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
743
+ <span class='kw'>end</span></pre>
772
744
  </td>
773
745
  </tr>
774
746
  </table>
@@ -790,9 +762,8 @@ the object that the method was called on
790
762
 
791
763
  </p><div class="docstring">
792
764
  <div class="discussion">
793
- <p>
794
- Create and return a <span class='object_link'><a href="Layer.html" title="SimplerTiles::Layer (class)">Layer</a></span> based on the passed in string.
795
- </p>
765
+
766
+ <p>Create and return a <span class='object_link'><a href="Layer.html" title="SimplerTiles::Layer (class)">Layer</a></span> based on the passed in string.</p>
796
767
 
797
768
 
798
769
  </div>
@@ -839,9 +810,8 @@ Create and return a <span class='object_link'><a href="Layer.html" title="Simple
839
810
  <td>
840
811
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
841
812
 
842
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
843
- <span class='rubyid_add_layer identifier id'>add_layer</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_layer identifier id'>layer</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
844
- </pre>
813
+ static VALUE
814
+ add_layer(VALUE self, VALUE layer){</pre>
845
815
  </td>
846
816
  </tr>
847
817
  </table>
@@ -856,10 +826,9 @@ Create and return a <span class='object_link'><a href="Layer.html" title="Simple
856
826
 
857
827
  </p><div class="docstring">
858
828
  <div class="discussion">
859
- <p>
860
- A convienence method to use Active Record configuration and add a new
861
- layer.
862
- </p>
829
+
830
+ <p>A convienence method to use Active Record configuration and add a new
831
+ layer.</p>
863
832
 
864
833
 
865
834
  </div>
@@ -893,23 +862,22 @@ layer.
893
862
  <td>
894
863
  <pre class="code"><span class="info file"># File 'lib/simpler_tiles/map.rb', line 20</span>
895
864
 
896
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_ar_layer identifier id'>ar_layer</span>
897
- <span class='rubyid_if if kw'>if</span> <span class='notop op'>!</span><span class='rubyid_defined? defined kw'>defined?</span><span class='lparen token'>(</span><span class='rubyid_ActiveRecord constant id'>ActiveRecord</span><span class='rparen token'>)</span>
898
- <span class='rubyid_raise identifier id'>raise</span> <span class='string val'>&quot;ActiveRecord not available&quot;</span>
899
- <span class='rubyid_end end kw'>end</span>
900
-
901
- <span class='rubyid_config identifier id'>config</span> <span class='assign token'>=</span> <span class='rubyid_ActiveRecord constant id'>ActiveRecord</span><span class='colon2 op'>::</span><span class='rubyid_Base constant id'>Base</span><span class='dot token'>.</span><span class='rubyid_connection identifier id'>connection</span><span class='dot token'>.</span><span class='rubyid_instance_variable_get identifier id'>instance_variable_get</span><span class='lparen token'>(</span><span class='string val'>&quot;@config&quot;</span><span class='rparen token'>)</span>
902
- <span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span>
903
- <span class='symbol val'>:dbname</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_config identifier id'>config</span><span class='lbrack token'>[</span><span class='symbol val'>:database</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
904
- <span class='symbol val'>:user</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_config identifier id'>config</span><span class='lbrack token'>[</span><span class='symbol val'>:username</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
905
- <span class='symbol val'>:host</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_config identifier id'>config</span><span class='lbrack token'>[</span><span class='symbol val'>:host</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
906
- <span class='symbol val'>:port</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_config identifier id'>config</span><span class='lbrack token'>[</span><span class='symbol val'>:port</span><span class='rbrack token'>]</span><span class='comma token'>,</span>
907
- <span class='symbol val'>:password</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_config identifier id'>config</span><span class='lbrack token'>[</span><span class='symbol val'>:password</span><span class='rbrack token'>]</span>
908
- <span class='rbrace token'>}</span>
909
-
910
- <span class='rubyid_layer identifier id'>layer</span> <span class='dstring node'>&quot;PG:#{params.map {|k,v| &quot;#{k}='#{v}' &quot;}}&quot;</span>
911
- <span class='rubyid_end end kw'>end</span>
912
- </pre>
865
+ <span class='kw'>def</span> <span class='id identifier rubyid_ar_layer'>ar_layer</span>
866
+ <span class='kw'>if</span> <span class='op'>!</span><span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>ActiveRecord</span><span class='rparen'>)</span>
867
+ <span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>ActiveRecord not available</span><span class='tstring_end'>&quot;</span></span>
868
+ <span class='kw'>end</span>
869
+
870
+ <span class='id identifier rubyid_config'>config</span> <span class='op'>=</span> <span class='const'>ActiveRecord</span><span class='op'>::</span><span class='const'>Base</span><span class='period'>.</span><span class='id identifier rubyid_connection'>connection</span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_get'>instance_variable_get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>@config</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
871
+ <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span>
872
+ <span class='symbol'>:dbname</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='symbol'>:database</span><span class='rbracket'>]</span><span class='comma'>,</span>
873
+ <span class='symbol'>:user</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='symbol'>:username</span><span class='rbracket'>]</span><span class='comma'>,</span>
874
+ <span class='symbol'>:host</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='symbol'>:host</span><span class='rbracket'>]</span><span class='comma'>,</span>
875
+ <span class='symbol'>:port</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='symbol'>:port</span><span class='rbracket'>]</span><span class='comma'>,</span>
876
+ <span class='symbol'>:password</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='symbol'>:password</span><span class='rbracket'>]</span>
877
+ <span class='rbrace'>}</span>
878
+
879
+ <span class='id identifier rubyid_layer'>layer</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>PG:</span><span class='tstring_end'>&quot;</span></span> <span class='op'>+</span> <span class='id identifier rubyid_params'>params</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_k'>k</span><span class='rbrace'>}</span><span class='tstring_content'>='</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_v'>v</span><span class='rbrace'>}</span><span class='tstring_content'>'</span><span class='tstring_end'>&quot;</span></span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
880
+ <span class='kw'>end</span></pre>
913
881
  </td>
914
882
  </tr>
915
883
  </table>
@@ -924,9 +892,8 @@ layer.
924
892
 
925
893
  </p><div class="docstring">
926
894
  <div class="discussion">
927
- <p>
928
- Return a copy of the background color of the map.
929
- </p>
895
+
896
+ <p>Return a copy of the background color of the map.</p>
930
897
 
931
898
 
932
899
  </div>
@@ -958,9 +925,8 @@ Return a copy of the background color of the map.
958
925
  <td>
959
926
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
960
927
 
961
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
962
- <span class='rubyid_get_bgcolor identifier id'>get_bgcolor</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
963
- </pre>
928
+ static VALUE
929
+ get_bgcolor(VALUE self){</pre>
964
930
  </td>
965
931
  </tr>
966
932
  </table>
@@ -975,9 +941,8 @@ Return a copy of the background color of the map.
975
941
 
976
942
  </p><div class="docstring">
977
943
  <div class="discussion">
978
- <p>
979
- Set the background color of the map.
980
- </p>
944
+
945
+ <p>Set the background color of the map.</p>
981
946
 
982
947
 
983
948
  </div>
@@ -1024,9 +989,8 @@ Set the background color of the map.
1024
989
  <td>
1025
990
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1026
991
 
1027
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1028
- <span class='rubyid_set_bgcolor identifier id'>set_bgcolor</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_bgcolor identifier id'>bgcolor</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1029
- </pre>
992
+ static VALUE
993
+ set_bgcolor(VALUE self, VALUE bgcolor){</pre>
1030
994
  </td>
1031
995
  </tr>
1032
996
  </table>
@@ -1041,9 +1005,8 @@ Set the background color of the map.
1041
1005
 
1042
1006
  </p><div class="docstring">
1043
1007
  <div class="discussion">
1044
- <p>
1045
- Return the bounds of this map.
1046
- </p>
1008
+
1009
+ <p>Return the bounds of this map.</p>
1047
1010
 
1048
1011
 
1049
1012
  </div>
@@ -1075,9 +1038,8 @@ Return the bounds of this map.
1075
1038
  <td>
1076
1039
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1077
1040
 
1078
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1079
- <span class='rubyid_bounds identifier id'>bounds</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1080
- </pre>
1041
+ static VALUE
1042
+ bounds(VALUE self){</pre>
1081
1043
  </td>
1082
1044
  </tr>
1083
1045
  </table>
@@ -1092,9 +1054,8 @@ Return the bounds of this map.
1092
1054
 
1093
1055
  </p><div class="docstring">
1094
1056
  <div class="discussion">
1095
- <p>
1096
- Get the Map&#8217;s buffer.
1097
- </p>
1057
+
1058
+ <p>Get the Map's buffer.</p>
1098
1059
 
1099
1060
 
1100
1061
  </div>
@@ -1126,9 +1087,8 @@ Get the Map&#8217;s buffer.
1126
1087
  <td>
1127
1088
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1128
1089
 
1129
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1130
- <span class='rubyid_get_buffer identifier id'>get_buffer</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1131
- </pre>
1090
+ static VALUE
1091
+ get_buffer(VALUE self){</pre>
1132
1092
  </td>
1133
1093
  </tr>
1134
1094
  </table>
@@ -1143,9 +1103,8 @@ Get the Map&#8217;s buffer.
1143
1103
 
1144
1104
  </p><div class="docstring">
1145
1105
  <div class="discussion">
1146
- <p>
1147
- Set the buffer on the Map.
1148
- </p>
1106
+
1107
+ <p>Set the buffer on the Map.</p>
1149
1108
 
1150
1109
 
1151
1110
  </div>
@@ -1192,9 +1151,8 @@ Set the buffer on the Map.
1192
1151
  <td>
1193
1152
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1194
1153
 
1195
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1196
- <span class='rubyid_set_buffer identifier id'>set_buffer</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_buffer identifier id'>buffer</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1197
- </pre>
1154
+ static VALUE
1155
+ set_buffer(VALUE self, VALUE buffer){</pre>
1198
1156
  </td>
1199
1157
  </tr>
1200
1158
  </table>
@@ -1209,10 +1167,8 @@ Set the buffer on the Map.
1209
1167
 
1210
1168
  </p><div class="docstring">
1211
1169
  <div class="discussion">
1212
- <p>
1213
- Return the bounds of this map sized according to it&#8217;s buffer
1214
- attribute.
1215
- </p>
1170
+
1171
+ <p>Return the bounds of this map sized according to it's buffer attribute.</p>
1216
1172
 
1217
1173
 
1218
1174
  </div>
@@ -1244,9 +1200,8 @@ attribute.
1244
1200
  <td>
1245
1201
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1246
1202
 
1247
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1248
- <span class='rubyid_buffered_bounds identifier id'>buffered_bounds</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1249
- </pre>
1203
+ static VALUE
1204
+ buffered_bounds(VALUE self){</pre>
1250
1205
  </td>
1251
1206
  </tr>
1252
1207
  </table>
@@ -1261,9 +1216,8 @@ attribute.
1261
1216
 
1262
1217
  </p><div class="docstring">
1263
1218
  <div class="discussion">
1264
- <p>
1265
- Get the height of the map.
1266
- </p>
1219
+
1220
+ <p>Get the height of the map.</p>
1267
1221
 
1268
1222
 
1269
1223
  </div>
@@ -1295,9 +1249,8 @@ Get the height of the map.
1295
1249
  <td>
1296
1250
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1297
1251
 
1298
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1299
- <span class='rubyid_get_height identifier id'>get_height</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1300
- </pre>
1252
+ static VALUE
1253
+ get_height(VALUE self){</pre>
1301
1254
  </td>
1302
1255
  </tr>
1303
1256
  </table>
@@ -1312,9 +1265,8 @@ Get the height of the map.
1312
1265
 
1313
1266
  </p><div class="docstring">
1314
1267
  <div class="discussion">
1315
- <p>
1316
- Set the height of the Map.
1317
- </p>
1268
+
1269
+ <p>Set the height of the Map.</p>
1318
1270
 
1319
1271
 
1320
1272
  </div>
@@ -1346,9 +1298,8 @@ Set the height of the Map.
1346
1298
  <td>
1347
1299
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1348
1300
 
1349
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1350
- <span class='rubyid_set_height identifier id'>set_height</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_height identifier id'>height</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1351
- </pre>
1301
+ static VALUE
1302
+ set_height(VALUE self, VALUE height){</pre>
1352
1303
  </td>
1353
1304
  </tr>
1354
1305
  </table>
@@ -1363,9 +1314,8 @@ Set the height of the Map.
1363
1314
 
1364
1315
  </p><div class="docstring">
1365
1316
  <div class="discussion">
1366
- <p>
1367
- Add a layer to the c list of layers and yield the new layer.
1368
- </p>
1317
+
1318
+ <p>Add a layer to the c list of layers and yield the new layer.</p>
1369
1319
 
1370
1320
 
1371
1321
  </div>
@@ -1387,11 +1337,10 @@ Add a layer to the c list of layers and yield the new layer.
1387
1337
  <td>
1388
1338
  <pre class="code"><span class="info file"># File 'lib/simpler_tiles/map.rb', line 13</span>
1389
1339
 
1390
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_layer identifier id'>layer</span><span class='lparen token'>(</span><span class='rubyid_source identifier id'>source</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='rubyid_blk identifier id'>blk</span><span class='rparen token'>)</span>
1391
- <span class='rubyid_layer identifier id'>layer</span> <span class='assign token'>=</span> <span class='rubyid_SimplerTiles constant id'>SimplerTiles</span><span class='colon2 op'>::</span><span class='rubyid_Layer constant id'>Layer</span><span class='dot token'>.</span><span class='rubyid_new identifier id'>new</span><span class='lparen token'>(</span><span class='rubyid_source identifier id'>source</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='rubyid_blk identifier id'>blk</span><span class='rparen token'>)</span>
1392
- <span class='rubyid_add_layer identifier id'>add_layer</span> <span class='rubyid_layer identifier id'>layer</span>
1393
- <span class='rubyid_end end kw'>end</span>
1394
- </pre>
1340
+ <span class='kw'>def</span> <span class='id identifier rubyid_layer'>layer</span><span class='lparen'>(</span><span class='id identifier rubyid_source'>source</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_blk'>blk</span><span class='rparen'>)</span>
1341
+ <span class='id identifier rubyid_layer'>layer</span> <span class='op'>=</span> <span class='const'>SimplerTiles</span><span class='op'>::</span><span class='const'>Layer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_source'>source</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_blk'>blk</span><span class='rparen'>)</span>
1342
+ <span class='id identifier rubyid_add_layer'>add_layer</span> <span class='id identifier rubyid_layer'>layer</span>
1343
+ <span class='kw'>end</span></pre>
1395
1344
  </td>
1396
1345
  </tr>
1397
1346
  </table>
@@ -1406,9 +1355,8 @@ Add a layer to the c list of layers and yield the new layer.
1406
1355
 
1407
1356
  </p><div class="docstring">
1408
1357
  <div class="discussion">
1409
- <p>
1410
- Render the Map to the filesystem.
1411
- </p>
1358
+
1359
+ <p>Render the Map to the filesystem.</p>
1412
1360
 
1413
1361
 
1414
1362
  </div>
@@ -1455,9 +1403,8 @@ Render the Map to the filesystem.
1455
1403
  <td>
1456
1404
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1457
1405
 
1458
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1459
- <span class='rubyid_save identifier id'>save</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_path identifier id'>path</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1460
- </pre>
1406
+ static VALUE
1407
+ save(VALUE self, VALUE path){</pre>
1461
1408
  </td>
1462
1409
  </tr>
1463
1410
  </table>
@@ -1472,9 +1419,8 @@ Render the Map to the filesystem.
1472
1419
 
1473
1420
  </p><div class="docstring">
1474
1421
  <div class="discussion">
1475
- <p>
1476
- Set the bounds on the map.
1477
- </p>
1422
+
1423
+ <p>Set the bounds on the map.</p>
1478
1424
 
1479
1425
 
1480
1426
  </div>
@@ -1521,9 +1467,8 @@ Set the bounds on the map.
1521
1467
  <td>
1522
1468
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1523
1469
 
1524
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1525
- <span class='rubyid_set_bounds identifier id'>set_bounds</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_maxx identifier id'>maxx</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_maxy identifier id'>maxy</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_minx identifier id'>minx</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_miny identifier id'>miny</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1526
- </pre>
1470
+ static VALUE
1471
+ set_bounds(VALUE self, VALUE maxx, VALUE maxy, VALUE minx, VALUE miny){</pre>
1527
1472
  </td>
1528
1473
  </tr>
1529
1474
  </table>
@@ -1538,9 +1483,8 @@ Set the bounds on the map.
1538
1483
 
1539
1484
  </p><div class="docstring">
1540
1485
  <div class="discussion">
1541
- <p>
1542
- Set the size in pixels of the final map.
1543
- </p>
1486
+
1487
+ <p>Set the size in pixels of the final map.</p>
1544
1488
 
1545
1489
 
1546
1490
  </div>
@@ -1587,9 +1531,8 @@ Set the size in pixels of the final map.
1587
1531
  <td>
1588
1532
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1589
1533
 
1590
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1591
- <span class='rubyid_set_size identifier id'>set_size</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_width identifier id'>width</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_height identifier id'>height</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1592
- </pre>
1534
+ static VALUE
1535
+ set_size(VALUE self, VALUE width, VALUE height){</pre>
1593
1536
  </td>
1594
1537
  </tr>
1595
1538
  </table>
@@ -1604,9 +1547,8 @@ Set the size in pixels of the final map.
1604
1547
 
1605
1548
  </p><div class="docstring">
1606
1549
  <div class="discussion">
1607
- <p>
1608
- Set the map to be slippy via passed in parameters.
1609
- </p>
1550
+
1551
+ <p>Set the map to be slippy via passed in parameters.</p>
1610
1552
 
1611
1553
 
1612
1554
  </div>
@@ -1653,9 +1595,8 @@ Set the map to be slippy via passed in parameters.
1653
1595
  <td>
1654
1596
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1655
1597
 
1656
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1657
- <span class='rubyid_slippy identifier id'>slippy</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_x identifier id'>x</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_y identifier id'>y</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_z identifier id'>z</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1658
- </pre>
1598
+ static VALUE
1599
+ slippy(VALUE self, VALUE x, VALUE y, VALUE z){</pre>
1659
1600
  </td>
1660
1601
  </tr>
1661
1602
  </table>
@@ -1670,9 +1611,8 @@ Set the map to be slippy via passed in parameters.
1670
1611
 
1671
1612
  </p><div class="docstring">
1672
1613
  <div class="discussion">
1673
- <p>
1674
- Return the projection for the map in string representation.
1675
- </p>
1614
+
1615
+ <p>Return the projection for the map in string representation.</p>
1676
1616
 
1677
1617
 
1678
1618
  </div>
@@ -1704,9 +1644,8 @@ Return the projection for the map in string representation.
1704
1644
  <td>
1705
1645
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1706
1646
 
1707
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1708
- <span class='rubyid_get_srs identifier id'>get_srs</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1709
- </pre>
1647
+ static VALUE
1648
+ get_srs(VALUE self){</pre>
1710
1649
  </td>
1711
1650
  </tr>
1712
1651
  </table>
@@ -1721,9 +1660,8 @@ Return the projection for the map in string representation.
1721
1660
 
1722
1661
  </p><div class="docstring">
1723
1662
  <div class="discussion">
1724
- <p>
1725
- Set the projection from an Proj.4 readable string.
1726
- </p>
1663
+
1664
+ <p>Set the projection from an Proj.4 readable string.</p>
1727
1665
 
1728
1666
 
1729
1667
  </div>
@@ -1770,9 +1708,8 @@ Set the projection from an Proj.4 readable string.
1770
1708
  <td>
1771
1709
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1772
1710
 
1773
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1774
- <span class='rubyid_set_srs identifier id'>set_srs</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_srs identifier id'>srs</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1775
- </pre>
1711
+ static VALUE
1712
+ set_srs(VALUE self, VALUE srs){</pre>
1776
1713
  </td>
1777
1714
  </tr>
1778
1715
  </table>
@@ -1787,9 +1724,8 @@ Set the projection from an Proj.4 readable string.
1787
1724
 
1788
1725
  </p><div class="docstring">
1789
1726
  <div class="discussion">
1790
- <p>
1791
- Render the data to a blob of png data.
1792
- </p>
1727
+
1728
+ <p>Render the data to a blob of png data.</p>
1793
1729
 
1794
1730
 
1795
1731
  </div>
@@ -1826,13 +1762,12 @@ Render the data to a blob of png data.
1826
1762
  <td>
1827
1763
  <pre class="code"><span class="info file"># File 'lib/simpler_tiles/map.rb', line 38</span>
1828
1764
 
1829
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_to_png identifier id'>to_png</span>
1830
- <span class='rubyid_data identifier id'>data</span> <span class='assign token'>=</span> <span class='string val'>&quot;&quot;</span>
1831
- <span class='rubyid_to_png_stream identifier id'>to_png_stream</span> <span class='rubyid_Proc constant id'>Proc</span><span class='dot token'>.</span><span class='rubyid_new identifier id'>new</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='rubyid_chunk identifier id'>chunk</span><span class='bitor op'>|</span> <span class='rubyid_data identifier id'>data</span> <span class='opasgn op'>+=</span> <span class='rubyid_chunk identifier id'>chunk</span> <span class='rbrace token'>}</span>
1832
- <span class='rubyid_yield yield kw'>yield</span> <span class='rubyid_data identifier id'>data</span> <span class='rubyid_if if_mod kw'>if</span> <span class='rubyid_block_given? fid id'>block_given?</span>
1833
- <span class='rubyid_data identifier id'>data</span>
1834
- <span class='rubyid_end end kw'>end</span>
1835
- </pre>
1765
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_png'>to_png</span>
1766
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
1767
+ <span class='id identifier rubyid_to_png_stream'>to_png_stream</span> <span class='const'>Proc</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_chunk'>chunk</span><span class='op'>|</span> <span class='id identifier rubyid_data'>data</span> <span class='op'>+=</span> <span class='id identifier rubyid_chunk'>chunk</span> <span class='rbrace'>}</span>
1768
+ <span class='kw'>yield</span> <span class='id identifier rubyid_data'>data</span> <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
1769
+ <span class='id identifier rubyid_data'>data</span>
1770
+ <span class='kw'>end</span></pre>
1836
1771
  </td>
1837
1772
  </tr>
1838
1773
  </table>
@@ -1847,9 +1782,8 @@ Render the data to a blob of png data.
1847
1782
 
1848
1783
  </p><div class="docstring">
1849
1784
  <div class="discussion">
1850
- <p>
1851
- Render the map to a png stream and yield values to the passed in block.
1852
- </p>
1785
+
1786
+ <p>Render the map to a png stream and yield values to the passed in block.</p>
1853
1787
 
1854
1788
 
1855
1789
  </div>
@@ -1867,9 +1801,8 @@ Render the map to a png stream and yield values to the passed in block.
1867
1801
 
1868
1802
 
1869
1803
  &mdash;
1870
- <div class='inline'><p>
1871
- Block that takes chunks of data
1872
- </p>
1804
+ <div class='inline'>
1805
+ <p>Block that takes chunks of data</p>
1873
1806
  </div>
1874
1807
 
1875
1808
  </li>
@@ -1900,9 +1833,8 @@ Block that takes chunks of data
1900
1833
  <td>
1901
1834
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1902
1835
 
1903
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1904
- <span class='rubyid_to_png_stream identifier id'>to_png_stream</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_block identifier id'>block</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1905
- </pre>
1836
+ static VALUE
1837
+ to_png_stream(VALUE self, VALUE block){</pre>
1906
1838
  </td>
1907
1839
  </tr>
1908
1840
  </table>
@@ -1917,9 +1849,8 @@ Block that takes chunks of data
1917
1849
 
1918
1850
  </p><div class="docstring">
1919
1851
  <div class="discussion">
1920
- <p>
1921
- Test to see if the Map has fulfilled the requirements for rendering
1922
- </p>
1852
+
1853
+ <p>Test to see if the Map has fulfilled the requirements for rendering</p>
1923
1854
 
1924
1855
 
1925
1856
  </div>
@@ -1951,9 +1882,8 @@ Test to see if the Map has fulfilled the requirements for rendering
1951
1882
  <td>
1952
1883
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
1953
1884
 
1954
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
1955
- <span class='rubyid_is_valid identifier id'>is_valid</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
1956
- </pre>
1885
+ static VALUE
1886
+ is_valid(VALUE self){</pre>
1957
1887
  </td>
1958
1888
  </tr>
1959
1889
  </table>
@@ -1968,9 +1898,8 @@ Test to see if the Map has fulfilled the requirements for rendering
1968
1898
 
1969
1899
  </p><div class="docstring">
1970
1900
  <div class="discussion">
1971
- <p>
1972
- Get the width of the map.
1973
- </p>
1901
+
1902
+ <p>Get the width of the map.</p>
1974
1903
 
1975
1904
 
1976
1905
  </div>
@@ -2002,9 +1931,8 @@ Get the width of the map.
2002
1931
  <td>
2003
1932
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
2004
1933
 
2005
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
2006
- <span class='rubyid_get_width identifier id'>get_width</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
2007
- </pre>
1934
+ static VALUE
1935
+ get_width(VALUE self){</pre>
2008
1936
  </td>
2009
1937
  </tr>
2010
1938
  </table>
@@ -2019,9 +1947,8 @@ Get the width of the map.
2019
1947
 
2020
1948
  </p><div class="docstring">
2021
1949
  <div class="discussion">
2022
- <p>
2023
- Set the width of the Map.
2024
- </p>
1950
+
1951
+ <p>Set the width of the Map.</p>
2025
1952
 
2026
1953
 
2027
1954
  </div>
@@ -2053,9 +1980,8 @@ Set the width of the Map.
2053
1980
  <td>
2054
1981
  <pre class="code"><span class="info file"># File 'ext/simpler_tiles/map.c'</span>
2055
1982
 
2056
- <span class='rubyid_static identifier id'>static</span> <span class='rubyid_VALUE constant id'>VALUE</span>
2057
- <span class='rubyid_set_width identifier id'>set_width</span><span class='lparen token'>(</span><span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_VALUE constant id'>VALUE</span> <span class='rubyid_width identifier id'>width</span><span class='rparen token'>)</span><span class='lbrace token'>{</span>
2058
- </pre>
1983
+ static VALUE
1984
+ set_width(VALUE self, VALUE width){</pre>
2059
1985
  </td>
2060
1986
  </tr>
2061
1987
  </table>
@@ -2066,9 +1992,9 @@ Set the width of the Map.
2066
1992
  </div>
2067
1993
 
2068
1994
  <div id="footer">
2069
- Generated on Tue Apr 10 17:04:09 2012 by
1995
+ Generated on Sat Dec 8 18:04:33 2012 by
2070
1996
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2071
- 0.7.5 (ruby-1.8.7).
1997
+ 0.7.5 (ruby-1.9.3).
2072
1998
  </div>
2073
1999
 
2074
2000
  </body>