halation 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,916 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Halation::Roll
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "Halation::Roll";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (R)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Halation.html" title="Halation (module)">Halation</a></span></span>
41
+ &raquo;
42
+ <span class="title">Roll</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame" src="../class_list.html"></iframe>
63
+
64
+ <div id="content"><h1>Class: Halation::Roll
65
+
66
+
67
+
68
+ </h1>
69
+ <div class="box_info">
70
+
71
+ <dl>
72
+ <dt>Inherits:</dt>
73
+ <dd>
74
+ <span class="inheritName">Object</span>
75
+
76
+ <ul class="fullTree">
77
+ <li>Object</li>
78
+
79
+ <li class="next">Halation::Roll</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/halation/roll.rb<span class="defines">,<br />
100
+ lib/halation/roll/frame.rb</span>
101
+ </dd>
102
+ </dl>
103
+
104
+ </div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+
109
+ <p>Settings for a roll of film.</p>
110
+
111
+
112
+ </div>
113
+ </div>
114
+ <div class="tags">
115
+
116
+
117
+ </div><h2>Defined Under Namespace</h2>
118
+ <p class="children">
119
+
120
+
121
+
122
+
123
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Roll/Frame.html" title="Halation::Roll::Frame (class)">Frame</a></span>
124
+
125
+
126
+ </p>
127
+
128
+
129
+
130
+
131
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
132
+ <ul class="summary">
133
+
134
+ <li class="public ">
135
+ <span class="summary_signature">
136
+
137
+ <a href="#artist-instance_method" title="#artist (instance method)">#<strong>artist</strong> &#x21d2; Object </a>
138
+
139
+
140
+
141
+ </span>
142
+
143
+
144
+
145
+
146
+ <span class="note title readonly">readonly</span>
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+ <span class="summary_desc"><div class='inline'>
157
+ <p>Artist for the roll of film.</p>
158
+ </div></span>
159
+
160
+ </li>
161
+
162
+
163
+ <li class="public ">
164
+ <span class="summary_signature">
165
+
166
+ <a href="#camera-instance_method" title="#camera (instance method)">#<strong>camera</strong> &#x21d2; Object </a>
167
+
168
+
169
+
170
+ </span>
171
+
172
+
173
+
174
+
175
+ <span class="note title readonly">readonly</span>
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+ <span class="summary_desc"><div class='inline'>
186
+ <p>Tag of the cameara used.</p>
187
+ </div></span>
188
+
189
+ </li>
190
+
191
+
192
+ <li class="public ">
193
+ <span class="summary_signature">
194
+
195
+ <a href="#copyright-instance_method" title="#copyright (instance method)">#<strong>copyright</strong> &#x21d2; Object </a>
196
+
197
+
198
+
199
+ </span>
200
+
201
+
202
+
203
+
204
+ <span class="note title readonly">readonly</span>
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+ <span class="summary_desc"><div class='inline'>
215
+ <p>Copyright for the roll of film.</p>
216
+ </div></span>
217
+
218
+ </li>
219
+
220
+
221
+ <li class="public ">
222
+ <span class="summary_signature">
223
+
224
+ <a href="#date-instance_method" title="#date (instance method)">#<strong>date</strong> &#x21d2; Object </a>
225
+
226
+
227
+
228
+ </span>
229
+
230
+
231
+
232
+
233
+ <span class="note title readonly">readonly</span>
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+ <span class="summary_desc"><div class='inline'>
244
+ <p>Default date for all frames (optional).</p>
245
+ </div></span>
246
+
247
+ </li>
248
+
249
+
250
+ <li class="public ">
251
+ <span class="summary_signature">
252
+
253
+ <a href="#frames-instance_method" title="#frames (instance method)">#<strong>frames</strong> &#x21d2; Object </a>
254
+
255
+
256
+
257
+ </span>
258
+
259
+
260
+
261
+
262
+ <span class="note title readonly">readonly</span>
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+ <span class="summary_desc"><div class='inline'>
273
+ <p>Array of frames on the roll of film.</p>
274
+ </div></span>
275
+
276
+ </li>
277
+
278
+
279
+ <li class="public ">
280
+ <span class="summary_signature">
281
+
282
+ <a href="#iso-instance_method" title="#iso (instance method)">#<strong>iso</strong> &#x21d2; Object </a>
283
+
284
+
285
+
286
+ </span>
287
+
288
+
289
+
290
+
291
+ <span class="note title readonly">readonly</span>
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+ <span class="summary_desc"><div class='inline'>
302
+ <p>ISO of the roll of film.</p>
303
+ </div></span>
304
+
305
+ </li>
306
+
307
+
308
+ <li class="public ">
309
+ <span class="summary_signature">
310
+
311
+ <a href="#lens-instance_method" title="#lens (instance method)">#<strong>lens</strong> &#x21d2; Object </a>
312
+
313
+
314
+
315
+ </span>
316
+
317
+
318
+
319
+
320
+ <span class="note title readonly">readonly</span>
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+ <span class="summary_desc"><div class='inline'>
331
+ <p>Tag of the default lens used (optional).</p>
332
+ </div></span>
333
+
334
+ </li>
335
+
336
+
337
+ </ul>
338
+
339
+
340
+
341
+
342
+
343
+ <h2>
344
+ Instance Method Summary
345
+ <small><a href="#" class="summary_toggle">collapse</a></small>
346
+ </h2>
347
+
348
+ <ul class="summary">
349
+
350
+ <li class="public ">
351
+ <span class="summary_signature">
352
+
353
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> &#x21d2; Roll </a>
354
+
355
+
356
+
357
+ </span>
358
+
359
+
360
+ <span class="note title constructor">constructor</span>
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+ <span class="summary_desc"><div class='inline'>
370
+ <p>A new instance of Roll.</p>
371
+ </div></span>
372
+
373
+ </li>
374
+
375
+
376
+ <li class="public ">
377
+ <span class="summary_signature">
378
+
379
+ <a href="#load_file-instance_method" title="#load_file (instance method)">#<strong>load_file</strong>(file_path) &#x21d2; Object </a>
380
+
381
+
382
+
383
+ </span>
384
+
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+ <span class="summary_desc"><div class='inline'>
394
+ <p>Load the settings from a YAML file.</p>
395
+ </div></span>
396
+
397
+ </li>
398
+
399
+
400
+ <li class="public ">
401
+ <span class="summary_signature">
402
+
403
+ <a href="#reset-instance_method" title="#reset (instance method)">#<strong>reset</strong> &#x21d2; Object </a>
404
+
405
+
406
+
407
+ </span>
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+ <span class="summary_desc"><div class='inline'>
418
+ <p>Reset the configuration to default values.</p>
419
+ </div></span>
420
+
421
+ </li>
422
+
423
+
424
+ </ul>
425
+
426
+
427
+ <div id="constructor_details" class="method_details_list">
428
+ <h2>Constructor Details</h2>
429
+
430
+ <div class="method_details first">
431
+ <h3 class="signature first" id="initialize-instance_method">
432
+
433
+ #<strong>initialize</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Halation::Roll (class)">Roll</a></span></tt>
434
+
435
+
436
+
437
+
438
+
439
+ </h3><div class="docstring">
440
+ <div class="discussion">
441
+
442
+ <p>Returns a new instance of Roll</p>
443
+
444
+
445
+ </div>
446
+ </div>
447
+ <div class="tags">
448
+
449
+
450
+ </div><table class="source_code">
451
+ <tr>
452
+ <td>
453
+ <pre class="lines">
454
+
455
+
456
+ 23
457
+ 24
458
+ 25</pre>
459
+ </td>
460
+ <td>
461
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 23</span>
462
+
463
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
464
+ <span class='id identifier rubyid_reset'>reset</span>
465
+ <span class='kw'>end</span></pre>
466
+ </td>
467
+ </tr>
468
+ </table>
469
+ </div>
470
+
471
+ </div>
472
+
473
+ <div id="instance_attr_details" class="attr_details">
474
+ <h2>Instance Attribute Details</h2>
475
+
476
+
477
+ <span id=""></span>
478
+ <div class="method_details first">
479
+ <h3 class="signature first" id="artist-instance_method">
480
+
481
+ #<strong>artist</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
482
+
483
+
484
+
485
+
486
+
487
+ </h3><div class="docstring">
488
+ <div class="discussion">
489
+
490
+ <p>Artist for the roll of film.</p>
491
+
492
+
493
+ </div>
494
+ </div>
495
+ <div class="tags">
496
+
497
+
498
+ </div><table class="source_code">
499
+ <tr>
500
+ <td>
501
+ <pre class="lines">
502
+
503
+
504
+ 9
505
+ 10
506
+ 11</pre>
507
+ </td>
508
+ <td>
509
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 9</span>
510
+
511
+ <span class='kw'>def</span> <span class='id identifier rubyid_artist'>artist</span>
512
+ <span class='ivar'>@artist</span>
513
+ <span class='kw'>end</span></pre>
514
+ </td>
515
+ </tr>
516
+ </table>
517
+ </div>
518
+
519
+
520
+ <span id=""></span>
521
+ <div class="method_details ">
522
+ <h3 class="signature " id="camera-instance_method">
523
+
524
+ #<strong>camera</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
525
+
526
+
527
+
528
+
529
+
530
+ </h3><div class="docstring">
531
+ <div class="discussion">
532
+
533
+ <p>Tag of the cameara used.</p>
534
+
535
+
536
+ </div>
537
+ </div>
538
+ <div class="tags">
539
+
540
+
541
+ </div><table class="source_code">
542
+ <tr>
543
+ <td>
544
+ <pre class="lines">
545
+
546
+
547
+ 15
548
+ 16
549
+ 17</pre>
550
+ </td>
551
+ <td>
552
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 15</span>
553
+
554
+ <span class='kw'>def</span> <span class='id identifier rubyid_camera'>camera</span>
555
+ <span class='ivar'>@camera</span>
556
+ <span class='kw'>end</span></pre>
557
+ </td>
558
+ </tr>
559
+ </table>
560
+ </div>
561
+
562
+
563
+ <span id=""></span>
564
+ <div class="method_details ">
565
+ <h3 class="signature " id="copyright-instance_method">
566
+
567
+ #<strong>copyright</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
568
+
569
+
570
+
571
+
572
+
573
+ </h3><div class="docstring">
574
+ <div class="discussion">
575
+
576
+ <p>Copyright for the roll of film.</p>
577
+
578
+
579
+ </div>
580
+ </div>
581
+ <div class="tags">
582
+
583
+
584
+ </div><table class="source_code">
585
+ <tr>
586
+ <td>
587
+ <pre class="lines">
588
+
589
+
590
+ 11
591
+ 12
592
+ 13</pre>
593
+ </td>
594
+ <td>
595
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 11</span>
596
+
597
+ <span class='kw'>def</span> <span class='id identifier rubyid_copyright'>copyright</span>
598
+ <span class='ivar'>@copyright</span>
599
+ <span class='kw'>end</span></pre>
600
+ </td>
601
+ </tr>
602
+ </table>
603
+ </div>
604
+
605
+
606
+ <span id=""></span>
607
+ <div class="method_details ">
608
+ <h3 class="signature " id="date-instance_method">
609
+
610
+ #<strong>date</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
611
+
612
+
613
+
614
+
615
+
616
+ </h3><div class="docstring">
617
+ <div class="discussion">
618
+
619
+ <p>Default date for all frames (optional).</p>
620
+
621
+
622
+ </div>
623
+ </div>
624
+ <div class="tags">
625
+
626
+
627
+ </div><table class="source_code">
628
+ <tr>
629
+ <td>
630
+ <pre class="lines">
631
+
632
+
633
+ 13
634
+ 14
635
+ 15</pre>
636
+ </td>
637
+ <td>
638
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 13</span>
639
+
640
+ <span class='kw'>def</span> <span class='id identifier rubyid_date'>date</span>
641
+ <span class='ivar'>@date</span>
642
+ <span class='kw'>end</span></pre>
643
+ </td>
644
+ </tr>
645
+ </table>
646
+ </div>
647
+
648
+
649
+ <span id=""></span>
650
+ <div class="method_details ">
651
+ <h3 class="signature " id="frames-instance_method">
652
+
653
+ #<strong>frames</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
654
+
655
+
656
+
657
+
658
+
659
+ </h3><div class="docstring">
660
+ <div class="discussion">
661
+
662
+ <p>Array of frames on the roll of film.</p>
663
+
664
+
665
+ </div>
666
+ </div>
667
+ <div class="tags">
668
+
669
+
670
+ </div><table class="source_code">
671
+ <tr>
672
+ <td>
673
+ <pre class="lines">
674
+
675
+
676
+ 21
677
+ 22
678
+ 23</pre>
679
+ </td>
680
+ <td>
681
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 21</span>
682
+
683
+ <span class='kw'>def</span> <span class='id identifier rubyid_frames'>frames</span>
684
+ <span class='ivar'>@frames</span>
685
+ <span class='kw'>end</span></pre>
686
+ </td>
687
+ </tr>
688
+ </table>
689
+ </div>
690
+
691
+
692
+ <span id=""></span>
693
+ <div class="method_details ">
694
+ <h3 class="signature " id="iso-instance_method">
695
+
696
+ #<strong>iso</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
697
+
698
+
699
+
700
+
701
+
702
+ </h3><div class="docstring">
703
+ <div class="discussion">
704
+
705
+ <p>ISO of the roll of film.</p>
706
+
707
+
708
+ </div>
709
+ </div>
710
+ <div class="tags">
711
+
712
+
713
+ </div><table class="source_code">
714
+ <tr>
715
+ <td>
716
+ <pre class="lines">
717
+
718
+
719
+ 19
720
+ 20
721
+ 21</pre>
722
+ </td>
723
+ <td>
724
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 19</span>
725
+
726
+ <span class='kw'>def</span> <span class='id identifier rubyid_iso'>iso</span>
727
+ <span class='ivar'>@iso</span>
728
+ <span class='kw'>end</span></pre>
729
+ </td>
730
+ </tr>
731
+ </table>
732
+ </div>
733
+
734
+
735
+ <span id=""></span>
736
+ <div class="method_details ">
737
+ <h3 class="signature " id="lens-instance_method">
738
+
739
+ #<strong>lens</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
740
+
741
+
742
+
743
+
744
+
745
+ </h3><div class="docstring">
746
+ <div class="discussion">
747
+
748
+ <p>Tag of the default lens used (optional).</p>
749
+
750
+
751
+ </div>
752
+ </div>
753
+ <div class="tags">
754
+
755
+
756
+ </div><table class="source_code">
757
+ <tr>
758
+ <td>
759
+ <pre class="lines">
760
+
761
+
762
+ 17
763
+ 18
764
+ 19</pre>
765
+ </td>
766
+ <td>
767
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 17</span>
768
+
769
+ <span class='kw'>def</span> <span class='id identifier rubyid_lens'>lens</span>
770
+ <span class='ivar'>@lens</span>
771
+ <span class='kw'>end</span></pre>
772
+ </td>
773
+ </tr>
774
+ </table>
775
+ </div>
776
+
777
+ </div>
778
+
779
+
780
+ <div id="instance_method_details" class="method_details_list">
781
+ <h2>Instance Method Details</h2>
782
+
783
+
784
+ <div class="method_details first">
785
+ <h3 class="signature first" id="load_file-instance_method">
786
+
787
+ #<strong>load_file</strong>(file_path) &#x21d2; <tt>Object</tt>
788
+
789
+
790
+
791
+
792
+
793
+ </h3><div class="docstring">
794
+ <div class="discussion">
795
+
796
+ <p>Load the settings from a YAML file.</p>
797
+
798
+
799
+ </div>
800
+ </div>
801
+ <div class="tags">
802
+
803
+
804
+ </div><table class="source_code">
805
+ <tr>
806
+ <td>
807
+ <pre class="lines">
808
+
809
+
810
+ 39
811
+ 40
812
+ 41
813
+ 42
814
+ 43
815
+ 44
816
+ 45
817
+ 46
818
+ 47
819
+ 48
820
+ 49
821
+ 50
822
+ 51
823
+ 52
824
+ 53
825
+ 54</pre>
826
+ </td>
827
+ <td>
828
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 39</span>
829
+
830
+ <span class='kw'>def</span> <span class='id identifier rubyid_load_file'>load_file</span><span class='lparen'>(</span><span class='id identifier rubyid_file_path'>file_path</span><span class='rparen'>)</span>
831
+ <span class='id identifier rubyid_reset'>reset</span>
832
+
833
+ <span class='const'>YAML</span><span class='period'>.</span><span class='id identifier rubyid_load_file'>load_file</span><span class='lparen'>(</span><span class='id identifier rubyid_file_path'>file_path</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_roll'>roll</span><span class='op'>|</span>
834
+ <span class='ivar'>@artist</span> <span class='op'>=</span> <span class='const'>Coerce</span><span class='period'>.</span><span class='id identifier rubyid_string'>string</span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>artist</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
835
+ <span class='ivar'>@copyright</span> <span class='op'>=</span> <span class='const'>Coerce</span><span class='period'>.</span><span class='id identifier rubyid_string'>string</span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>copyright</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
836
+ <span class='ivar'>@date</span> <span class='op'>=</span> <span class='const'>Coerce</span><span class='period'>.</span><span class='id identifier rubyid_string'>string</span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>date</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
837
+ <span class='ivar'>@camera</span> <span class='op'>=</span> <span class='const'>Coerce</span><span class='period'>.</span><span class='id identifier rubyid_string'>string</span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>camera</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
838
+ <span class='ivar'>@lens</span> <span class='op'>=</span> <span class='const'>Coerce</span><span class='period'>.</span><span class='id identifier rubyid_string'>string</span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>lens</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
839
+ <span class='ivar'>@iso</span> <span class='op'>=</span> <span class='const'>Coerce</span><span class='period'>.</span><span class='id identifier rubyid_integer'>integer</span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>iso</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
840
+
841
+ <span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>frames</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_frame'>frame</span><span class='op'>|</span>
842
+ <span class='ivar'>@frames</span> <span class='op'>&lt;&lt;</span> <span class='const'>Frame</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_frame'>frame</span><span class='rparen'>)</span>
843
+ <span class='kw'>end</span>
844
+ <span class='kw'>end</span>
845
+ <span class='kw'>end</span></pre>
846
+ </td>
847
+ </tr>
848
+ </table>
849
+ </div>
850
+
851
+ <div class="method_details ">
852
+ <h3 class="signature " id="reset-instance_method">
853
+
854
+ #<strong>reset</strong> &#x21d2; <tt>Object</tt>
855
+
856
+
857
+
858
+
859
+
860
+ </h3><div class="docstring">
861
+ <div class="discussion">
862
+
863
+ <p>Reset the configuration to default values.</p>
864
+
865
+
866
+ </div>
867
+ </div>
868
+ <div class="tags">
869
+
870
+
871
+ </div><table class="source_code">
872
+ <tr>
873
+ <td>
874
+ <pre class="lines">
875
+
876
+
877
+ 28
878
+ 29
879
+ 30
880
+ 31
881
+ 32
882
+ 33
883
+ 34
884
+ 35
885
+ 36</pre>
886
+ </td>
887
+ <td>
888
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 28</span>
889
+
890
+ <span class='kw'>def</span> <span class='id identifier rubyid_reset'>reset</span>
891
+ <span class='ivar'>@artist</span> <span class='op'>=</span> <span class='kw'>nil</span>
892
+ <span class='ivar'>@copyright</span> <span class='op'>=</span> <span class='kw'>nil</span>
893
+ <span class='ivar'>@date</span> <span class='op'>=</span> <span class='kw'>nil</span>
894
+ <span class='ivar'>@camera</span> <span class='op'>=</span> <span class='kw'>nil</span>
895
+ <span class='ivar'>@lens</span> <span class='op'>=</span> <span class='kw'>nil</span>
896
+ <span class='ivar'>@iso</span> <span class='op'>=</span> <span class='kw'>nil</span>
897
+ <span class='ivar'>@frames</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
898
+ <span class='kw'>end</span></pre>
899
+ </td>
900
+ </tr>
901
+ </table>
902
+ </div>
903
+
904
+ </div>
905
+
906
+ </div>
907
+
908
+ <div id="footer">
909
+ Generated on Sat May 28 22:28:56 2016 by
910
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
911
+ 0.8.7.6 (ruby-2.1.7).
912
+ </div>
913
+
914
+ </div>
915
+ </body>
916
+ </html>