lazier 4.1.0 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis-gemfile +2 -2
- data/CHANGELOG.md +4 -0
- data/Gemfile +6 -6
- data/README.md +1 -1
- data/doc/Lazier.html +185 -70
- data/doc/Lazier/Boolean.html +5 -5
- data/doc/Lazier/Configuration.html +78 -16
- data/doc/Lazier/DateTime.html +13 -12
- data/doc/Lazier/DateTime/ClassMethods.html +6 -6
- data/doc/Lazier/Exceptions.html +3 -3
- data/doc/Lazier/Exceptions/Debug.html +3 -3
- data/doc/Lazier/Exceptions/MissingTranslation.html +9 -9
- data/doc/Lazier/Exceptions/TranslationExceptionHandler.html +73 -9
- data/doc/Lazier/Hash.html +7 -7
- data/doc/Lazier/I18n.html +41 -41
- data/doc/Lazier/Math.html +4 -4
- data/doc/Lazier/Math/ClassMethods.html +7 -7
- data/doc/Lazier/Object.html +29 -26
- data/doc/Lazier/Pathname.html +11 -12
- data/doc/Lazier/Settings.html +63 -63
- data/doc/Lazier/String.html +122 -21
- data/doc/Lazier/TimeZone.html +128 -32
- data/doc/Lazier/TimeZone/ClassMethods.html +5 -5
- data/doc/Lazier/Version.html +4 -4
- data/doc/_index.html +4 -4
- data/doc/class_list.html +5 -1
- data/doc/file.README.html +4 -4
- data/doc/file_list.html +5 -1
- data/doc/frames.html +1 -1
- data/doc/index.html +4 -4
- data/doc/js/full_list.js +4 -1
- data/doc/method_list.html +91 -81
- data/doc/top-level-namespace.html +3 -3
- data/lib/lazier.rb +18 -17
- data/lib/lazier/boolean.rb +1 -1
- data/lib/lazier/configuration.rb +6 -6
- data/lib/lazier/datetime.rb +11 -11
- data/lib/lazier/exceptions.rb +7 -2
- data/lib/lazier/hash.rb +4 -4
- data/lib/lazier/i18n.rb +7 -7
- data/lib/lazier/math.rb +3 -3
- data/lib/lazier/object.rb +17 -15
- data/lib/lazier/pathname.rb +3 -5
- data/lib/lazier/settings.rb +10 -10
- data/lib/lazier/string.rb +10 -1
- data/lib/lazier/timezone.rb +23 -25
- data/lib/lazier/version.rb +1 -1
- data/spec/lazier/string_spec.rb +14 -0
- data/spec/spec_helper.rb +1 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bcc67f8bfb2475d2afc39c685d292f8dd266c79
|
4
|
+
data.tar.gz: 0c8ade19144217ae44118a684a3c5defc788e99b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c07bfe399861688859344dffe6ed72945fbce549c1536a8fa56d9e1ab02fd7c5b2037258e4af066365a1db8dd023a07e182aef4c9198bea46cfd817d61db3e44
|
7
|
+
data.tar.gz: 2d0e2619a8fce7f028b5378efb9ec22e014769d2edd837d58b9ce6b1018d0e4aea109f3141ec19660ca884a760945ddffe7f6e81712f8b12e01227e80d1f6c49
|
data/.travis-gemfile
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -13,9 +13,9 @@ gem "rspec", "~> 3.1"
|
|
13
13
|
gem "rake", "~> 10.3"
|
14
14
|
|
15
15
|
# Documentation
|
16
|
-
gem "simplecov", "
|
17
|
-
gem "coveralls", "
|
18
|
-
gem "pry", "
|
19
|
-
gem "yard", "
|
20
|
-
gem "kramdown", "
|
21
|
-
gem "github-markup", "
|
16
|
+
gem "simplecov", ">= 0.9"
|
17
|
+
gem "coveralls", ">= 0.7", require: false
|
18
|
+
gem "pry", ">= 0"
|
19
|
+
gem "yard", ">= 0.8"
|
20
|
+
gem "kramdown", ">= 1.5"
|
21
|
+
gem "github-markup", ">= 1.3" if RUBY_ENGINE != "jruby"
|
data/README.md
CHANGED
data/doc/Lazier.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -232,7 +232,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
232
232
|
|
233
233
|
|
234
234
|
|
235
|
-
<span class="summary_desc"><div class='inline'><p>Loads Boolean extensions.</p>
|
235
|
+
<span class="summary_desc"><div class='inline'><p>Loads <code>Boolean</code> extensions.</p>
|
236
236
|
</div></span>
|
237
237
|
|
238
238
|
</li>
|
@@ -255,7 +255,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
255
255
|
|
256
256
|
|
257
257
|
|
258
|
-
<span class="summary_desc"><div class='inline'><p>Loads DateTime extensions.</p>
|
258
|
+
<span class="summary_desc"><div class='inline'><p>Loads <code>DateTime</code> extensions.</p>
|
259
259
|
</div></span>
|
260
260
|
|
261
261
|
</li>
|
@@ -278,7 +278,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
278
278
|
|
279
279
|
|
280
280
|
|
281
|
-
<span class="summary_desc"><div class='inline'><p>Loads Hash extensions.</p>
|
281
|
+
<span class="summary_desc"><div class='inline'><p>Loads <code>Hash</code> extensions.</p>
|
282
282
|
</div></span>
|
283
283
|
|
284
284
|
</li>
|
@@ -301,7 +301,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
301
301
|
|
302
302
|
|
303
303
|
|
304
|
-
<span class="summary_desc"><div class='inline'><p>Loads Math extensions.</p>
|
304
|
+
<span class="summary_desc"><div class='inline'><p>Loads <code>Math</code> extensions.</p>
|
305
305
|
</div></span>
|
306
306
|
|
307
307
|
</li>
|
@@ -324,7 +324,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
324
324
|
|
325
325
|
|
326
326
|
|
327
|
-
<span class="summary_desc"><div class='inline'><p>Loads Object extensions.</p>
|
327
|
+
<span class="summary_desc"><div class='inline'><p>Loads <code>Object</code> extensions.</p>
|
328
328
|
</div></span>
|
329
329
|
|
330
330
|
</li>
|
@@ -347,7 +347,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
347
347
|
|
348
348
|
|
349
349
|
|
350
|
-
<span class="summary_desc"><div class='inline'><p>Loads Pathname extensions.</p>
|
350
|
+
<span class="summary_desc"><div class='inline'><p>Loads <code>Pathname</code> extensions.</p>
|
351
351
|
</div></span>
|
352
352
|
|
353
353
|
</li>
|
@@ -370,7 +370,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
370
370
|
|
371
371
|
|
372
372
|
|
373
|
-
<span class="summary_desc"><div class='inline'><p>Loads String extensions.</p>
|
373
|
+
<span class="summary_desc"><div class='inline'><p>Loads <code>String</code> extensions.</p>
|
374
374
|
</div></span>
|
375
375
|
|
376
376
|
</li>
|
@@ -522,7 +522,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
522
522
|
|
523
523
|
|
524
524
|
—
|
525
|
-
<div class='inline'><p>The precision for the message (see return value)
|
525
|
+
<div class='inline'><p>The precision for the message (see return value).</p>
|
526
526
|
</div>
|
527
527
|
|
528
528
|
</li>
|
@@ -569,13 +569,13 @@ otherwise the duration alone as a number.</p>
|
|
569
569
|
<pre class="lines">
|
570
570
|
|
571
571
|
|
572
|
-
160
|
573
572
|
161
|
574
573
|
162
|
575
|
-
163
|
574
|
+
163
|
575
|
+
164</pre>
|
576
576
|
</td>
|
577
577
|
<td>
|
578
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
578
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 161</span>
|
579
579
|
|
580
580
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_benchmark'>benchmark</span><span class='lparen'>(</span><span class='label'>message:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>precision:</span> <span class='int'>0</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
581
581
|
<span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='const'>Benchmark</span><span class='period'>.</span><span class='id identifier rubyid_ms'>ms</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
@@ -682,7 +682,6 @@ Otherwise the class of the object will returned.</p>
|
|
682
682
|
<pre class="lines">
|
683
683
|
|
684
684
|
|
685
|
-
143
|
686
685
|
144
|
687
686
|
145
|
688
687
|
146
|
@@ -690,10 +689,11 @@ Otherwise the class of the object will returned.</p>
|
|
690
689
|
148
|
691
690
|
149
|
692
691
|
150
|
693
|
-
151
|
692
|
+
151
|
693
|
+
152</pre>
|
694
694
|
</td>
|
695
695
|
<td>
|
696
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
696
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 144</span>
|
697
697
|
|
698
698
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_find_class'>find_class</span><span class='lparen'>(</span><span class='id identifier rubyid_cls'>cls</span><span class='comma'>,</span> <span class='id identifier rubyid_scope'>scope</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>::@</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_only_in_scope'>only_in_scope</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
699
699
|
<span class='kw'>if</span> <span class='lbracket'>[</span><span class='op'>::</span><span class='const'>String</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Symbol</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='rparen'>)</span>
|
@@ -740,21 +740,136 @@ Otherwise the class of the object will returned.</p>
|
|
740
740
|
|
741
741
|
—
|
742
742
|
<div class='inline'><p>The modules to load. Valid values are:</p>
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
743
|
+
</div>
|
744
|
+
|
745
|
+
</li>
|
746
|
+
|
747
|
+
<li>
|
748
|
+
|
749
|
+
<span class='name'>object</span>
|
750
|
+
|
751
|
+
|
752
|
+
<span class='type'>(<tt><span class='object_link'><a href="Lazier/Hash.html" title="Lazier::Hash (module)">Hash</a></span></tt>)</span>
|
753
|
+
|
754
|
+
|
755
|
+
|
756
|
+
—
|
757
|
+
<div class='inline'><p>a customizable set of options</p>
|
758
|
+
</div>
|
759
|
+
|
760
|
+
</li>
|
761
|
+
|
762
|
+
<li>
|
763
|
+
|
764
|
+
<span class='name'>boolean</span>
|
765
|
+
|
766
|
+
|
767
|
+
<span class='type'>(<tt><span class='object_link'><a href="Lazier/Hash.html" title="Lazier::Hash (module)">Hash</a></span></tt>)</span>
|
768
|
+
|
769
|
+
|
770
|
+
|
771
|
+
—
|
772
|
+
<div class='inline'><p>a customizable set of options</p>
|
773
|
+
</div>
|
774
|
+
|
775
|
+
</li>
|
776
|
+
|
777
|
+
<li>
|
778
|
+
|
779
|
+
<span class='name'>string</span>
|
780
|
+
|
781
|
+
|
782
|
+
<span class='type'>(<tt><span class='object_link'><a href="Lazier/Hash.html" title="Lazier::Hash (module)">Hash</a></span></tt>)</span>
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
—
|
787
|
+
<div class='inline'><p>a customizable set of options</p>
|
788
|
+
</div>
|
789
|
+
|
790
|
+
</li>
|
791
|
+
|
792
|
+
<li>
|
793
|
+
|
794
|
+
<span class='name'>hash</span>
|
795
|
+
|
796
|
+
|
797
|
+
<span class='type'>(<tt><span class='object_link'><a href="Lazier/Hash.html" title="Lazier::Hash (module)">Hash</a></span></tt>)</span>
|
798
|
+
|
799
|
+
|
800
|
+
|
801
|
+
—
|
802
|
+
<div class='inline'><p>a customizable set of options</p>
|
803
|
+
</div>
|
804
|
+
|
805
|
+
</li>
|
806
|
+
|
807
|
+
<li>
|
808
|
+
|
809
|
+
<span class='name'>hash_method_access</span>
|
810
|
+
|
811
|
+
|
812
|
+
<span class='type'>(<tt><span class='object_link'><a href="Lazier/Hash.html" title="Lazier::Hash (module)">Hash</a></span></tt>)</span>
|
813
|
+
|
814
|
+
|
815
|
+
|
816
|
+
—
|
817
|
+
<div class='inline'><p>a customizable set of options</p>
|
818
|
+
</div>
|
819
|
+
|
820
|
+
</li>
|
821
|
+
|
822
|
+
<li>
|
823
|
+
|
824
|
+
<span class='name'>datetime</span>
|
825
|
+
|
826
|
+
|
827
|
+
<span class='type'>(<tt><span class='object_link'><a href="Lazier/Hash.html" title="Lazier::Hash (module)">Hash</a></span></tt>)</span>
|
828
|
+
|
829
|
+
|
830
|
+
|
831
|
+
—
|
832
|
+
<div class='inline'><p>a customizable set of options</p>
|
833
|
+
</div>
|
834
|
+
|
835
|
+
</li>
|
836
|
+
|
837
|
+
<li>
|
838
|
+
|
839
|
+
<span class='name'>math</span>
|
840
|
+
|
841
|
+
|
842
|
+
<span class='type'>(<tt><span class='object_link'><a href="Lazier/Hash.html" title="Lazier::Hash (module)">Hash</a></span></tt>)</span>
|
843
|
+
|
844
|
+
|
845
|
+
|
846
|
+
—
|
847
|
+
<div class='inline'><p>a customizable set of options</p>
|
848
|
+
</div>
|
849
|
+
|
850
|
+
</li>
|
851
|
+
|
852
|
+
<li>
|
853
|
+
|
854
|
+
<span class='name'>pathname</span>
|
855
|
+
|
856
|
+
|
857
|
+
<span class='type'>(<tt><span class='object_link'><a href="Lazier/Hash.html" title="Lazier::Hash (module)">Hash</a></span></tt>)</span>
|
858
|
+
|
859
|
+
|
860
|
+
|
861
|
+
—
|
862
|
+
<div class='inline'><p>a customizable set of options</p>
|
752
863
|
</div>
|
753
864
|
|
754
865
|
</li>
|
755
866
|
|
756
867
|
</ul>
|
757
868
|
|
869
|
+
|
870
|
+
|
871
|
+
|
872
|
+
|
758
873
|
<p class="tag_title">Returns:</p>
|
759
874
|
<ul class="return">
|
760
875
|
|
@@ -779,17 +894,17 @@ Otherwise the class of the object will returned.</p>
|
|
779
894
|
<pre class="lines">
|
780
895
|
|
781
896
|
|
782
|
-
56
|
783
897
|
57
|
784
898
|
58
|
785
899
|
59
|
786
900
|
60
|
787
901
|
61
|
788
902
|
62
|
789
|
-
63
|
903
|
+
63
|
904
|
+
64</pre>
|
790
905
|
</td>
|
791
906
|
<td>
|
792
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
907
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 57</span>
|
793
908
|
|
794
909
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load!'>load!</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_what'>what</span><span class='rparen'>)</span>
|
795
910
|
<span class='id identifier rubyid_valid_modules'>valid_modules</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:object</span><span class='comma'>,</span> <span class='symbol'>:boolean</span><span class='comma'>,</span> <span class='symbol'>:string</span><span class='comma'>,</span> <span class='symbol'>:hash</span><span class='comma'>,</span> <span class='symbol'>:datetime</span><span class='comma'>,</span> <span class='symbol'>:math</span><span class='comma'>,</span> <span class='symbol'>:pathname</span><span class='rbracket'>]</span>
|
@@ -815,7 +930,7 @@ Otherwise the class of the object will returned.</p>
|
|
815
930
|
|
816
931
|
</h3><div class="docstring">
|
817
932
|
<div class="discussion">
|
818
|
-
<p>Loads Boolean extensions.</p>
|
933
|
+
<p>Loads <code>Boolean</code> extensions.</p>
|
819
934
|
|
820
935
|
|
821
936
|
</div>
|
@@ -829,7 +944,6 @@ Otherwise the class of the object will returned.</p>
|
|
829
944
|
<pre class="lines">
|
830
945
|
|
831
946
|
|
832
|
-
72
|
833
947
|
73
|
834
948
|
74
|
835
949
|
75
|
@@ -838,10 +952,11 @@ Otherwise the class of the object will returned.</p>
|
|
838
952
|
78
|
839
953
|
79
|
840
954
|
80
|
841
|
-
81
|
955
|
+
81
|
956
|
+
82</pre>
|
842
957
|
</td>
|
843
958
|
<td>
|
844
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
959
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 73</span>
|
845
960
|
|
846
961
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_boolean'>load_boolean</span>
|
847
962
|
<span class='id identifier rubyid_perform_load'>perform_load</span><span class='lparen'>(</span><span class='symbol'>:boolean</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
@@ -869,7 +984,7 @@ Otherwise the class of the object will returned.</p>
|
|
869
984
|
|
870
985
|
</h3><div class="docstring">
|
871
986
|
<div class="discussion">
|
872
|
-
<p>Loads DateTime extensions.</p>
|
987
|
+
<p>Loads <code>DateTime</code> extensions.</p>
|
873
988
|
|
874
989
|
|
875
990
|
</div>
|
@@ -883,7 +998,6 @@ Otherwise the class of the object will returned.</p>
|
|
883
998
|
<pre class="lines">
|
884
999
|
|
885
1000
|
|
886
|
-
99
|
887
1001
|
100
|
888
1002
|
101
|
889
1003
|
102
|
@@ -893,10 +1007,11 @@ Otherwise the class of the object will returned.</p>
|
|
893
1007
|
106
|
894
1008
|
107
|
895
1009
|
108
|
896
|
-
109
|
1010
|
+
109
|
1011
|
+
110</pre>
|
897
1012
|
</td>
|
898
1013
|
<td>
|
899
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1014
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 100</span>
|
900
1015
|
|
901
1016
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_datetime'>load_datetime</span>
|
902
1017
|
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
@@ -925,7 +1040,7 @@ Otherwise the class of the object will returned.</p>
|
|
925
1040
|
|
926
1041
|
</h3><div class="docstring">
|
927
1042
|
<div class="discussion">
|
928
|
-
<p>Loads Hash extensions.</p>
|
1043
|
+
<p>Loads <code>Hash</code> extensions.</p>
|
929
1044
|
|
930
1045
|
|
931
1046
|
</div>
|
@@ -939,17 +1054,17 @@ Otherwise the class of the object will returned.</p>
|
|
939
1054
|
<pre class="lines">
|
940
1055
|
|
941
1056
|
|
942
|
-
89
|
943
1057
|
90
|
944
1058
|
91
|
945
1059
|
92
|
946
1060
|
93
|
947
1061
|
94
|
948
1062
|
95
|
949
|
-
96
|
1063
|
+
96
|
1064
|
+
97</pre>
|
950
1065
|
</td>
|
951
1066
|
<td>
|
952
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1067
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 90</span>
|
953
1068
|
|
954
1069
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_hash'>load_hash</span>
|
955
1070
|
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
@@ -975,7 +1090,7 @@ Otherwise the class of the object will returned.</p>
|
|
975
1090
|
|
976
1091
|
</h3><div class="docstring">
|
977
1092
|
<div class="discussion">
|
978
|
-
<p>Loads Math extensions.</p>
|
1093
|
+
<p>Loads <code>Math</code> extensions.</p>
|
979
1094
|
|
980
1095
|
|
981
1096
|
</div>
|
@@ -989,13 +1104,13 @@ Otherwise the class of the object will returned.</p>
|
|
989
1104
|
<pre class="lines">
|
990
1105
|
|
991
1106
|
|
992
|
-
112
|
993
1107
|
113
|
994
1108
|
114
|
995
|
-
115
|
1109
|
+
115
|
1110
|
+
116</pre>
|
996
1111
|
</td>
|
997
1112
|
<td>
|
998
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1113
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 113</span>
|
999
1114
|
|
1000
1115
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_math'>load_math</span>
|
1001
1116
|
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
@@ -1017,7 +1132,7 @@ Otherwise the class of the object will returned.</p>
|
|
1017
1132
|
|
1018
1133
|
</h3><div class="docstring">
|
1019
1134
|
<div class="discussion">
|
1020
|
-
<p>Loads Object extensions.</p>
|
1135
|
+
<p>Loads <code>Object</code> extensions.</p>
|
1021
1136
|
|
1022
1137
|
|
1023
1138
|
</div>
|
@@ -1031,13 +1146,13 @@ Otherwise the class of the object will returned.</p>
|
|
1031
1146
|
<pre class="lines">
|
1032
1147
|
|
1033
1148
|
|
1034
|
-
66
|
1035
1149
|
67
|
1036
1150
|
68
|
1037
|
-
69
|
1151
|
+
69
|
1152
|
+
70</pre>
|
1038
1153
|
</td>
|
1039
1154
|
<td>
|
1040
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1155
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 67</span>
|
1041
1156
|
|
1042
1157
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
1043
1158
|
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_boolean'>load_boolean</span>
|
@@ -1059,7 +1174,7 @@ Otherwise the class of the object will returned.</p>
|
|
1059
1174
|
|
1060
1175
|
</h3><div class="docstring">
|
1061
1176
|
<div class="discussion">
|
1062
|
-
<p>Loads Pathname extensions.</p>
|
1177
|
+
<p>Loads <code>Pathname</code> extensions.</p>
|
1063
1178
|
|
1064
1179
|
|
1065
1180
|
</div>
|
@@ -1073,12 +1188,12 @@ Otherwise the class of the object will returned.</p>
|
|
1073
1188
|
<pre class="lines">
|
1074
1189
|
|
1075
1190
|
|
1076
|
-
118
|
1077
1191
|
119
|
1078
|
-
120
|
1192
|
+
120
|
1193
|
+
121</pre>
|
1079
1194
|
</td>
|
1080
1195
|
<td>
|
1081
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1196
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 119</span>
|
1082
1197
|
|
1083
1198
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_pathname'>load_pathname</span>
|
1084
1199
|
<span class='id identifier rubyid_perform_load'>perform_load</span><span class='lparen'>(</span><span class='symbol'>:pathname</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Pathname</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Pathname</span><span class='rparen'>)</span>
|
@@ -1099,7 +1214,7 @@ Otherwise the class of the object will returned.</p>
|
|
1099
1214
|
|
1100
1215
|
</h3><div class="docstring">
|
1101
1216
|
<div class="discussion">
|
1102
|
-
<p>Loads String extensions.</p>
|
1217
|
+
<p>Loads <code>String</code> extensions.</p>
|
1103
1218
|
|
1104
1219
|
|
1105
1220
|
</div>
|
@@ -1113,12 +1228,12 @@ Otherwise the class of the object will returned.</p>
|
|
1113
1228
|
<pre class="lines">
|
1114
1229
|
|
1115
1230
|
|
1116
|
-
84
|
1117
1231
|
85
|
1118
|
-
86
|
1232
|
+
86
|
1233
|
+
87</pre>
|
1119
1234
|
</td>
|
1120
1235
|
<td>
|
1121
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1236
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 85</span>
|
1122
1237
|
|
1123
1238
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_string'>load_string</span>
|
1124
1239
|
<span class='id identifier rubyid_perform_load'>perform_load</span><span class='lparen'>(</span><span class='symbol'>:string</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>String</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>String</span><span class='rparen'>)</span>
|
@@ -1170,12 +1285,12 @@ Otherwise the class of the object will returned.</p>
|
|
1170
1285
|
<pre class="lines">
|
1171
1286
|
|
1172
1287
|
|
1173
|
-
125
|
1174
1288
|
126
|
1175
|
-
127
|
1289
|
+
127
|
1290
|
+
128</pre>
|
1176
1291
|
</td>
|
1177
1292
|
<td>
|
1178
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1293
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 126</span>
|
1179
1294
|
|
1180
1295
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_loaded_modules'>loaded_modules</span>
|
1181
1296
|
<span class='ivar'>@loaded</span> <span class='op'>||</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
@@ -1227,12 +1342,12 @@ Otherwise the class of the object will returned.</p>
|
|
1227
1342
|
<pre class="lines">
|
1228
1343
|
|
1229
1344
|
|
1230
|
-
132
|
1231
1345
|
133
|
1232
|
-
134
|
1346
|
+
134
|
1347
|
+
135</pre>
|
1233
1348
|
</td>
|
1234
1349
|
<td>
|
1235
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1350
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 133</span>
|
1236
1351
|
|
1237
1352
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_modules_loaded?'>modules_loaded?</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_modules'>modules</span><span class='rparen'>)</span>
|
1238
1353
|
<span class='lparen'>(</span><span class='id identifier rubyid_modules'>modules</span><span class='period'>.</span><span class='id identifier rubyid_flatten'>flatten</span><span class='period'>.</span><span class='id identifier rubyid_uniq'>uniq</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:to_sym</span><span class='rparen'>)</span> <span class='op'>-</span> <span class='ivar'>@loaded</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span>
|
@@ -1297,7 +1412,6 @@ Otherwise the class of the object will returned.</p>
|
|
1297
1412
|
<pre class="lines">
|
1298
1413
|
|
1299
1414
|
|
1300
|
-
169
|
1301
1415
|
170
|
1302
1416
|
171
|
1303
1417
|
172
|
@@ -1307,10 +1421,11 @@ Otherwise the class of the object will returned.</p>
|
|
1307
1421
|
176
|
1308
1422
|
177
|
1309
1423
|
178
|
1310
|
-
179
|
1424
|
+
179
|
1425
|
+
180</pre>
|
1311
1426
|
</td>
|
1312
1427
|
<td>
|
1313
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1428
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 170</span>
|
1314
1429
|
|
1315
1430
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='lparen'>(</span><span class='id identifier rubyid_force'>force</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
1316
1431
|
<span class='ivar'>@platform</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='kw'>if</span> <span class='id identifier rubyid_force'>force</span>
|
@@ -1370,12 +1485,12 @@ Otherwise the class of the object will returned.</p>
|
|
1370
1485
|
<pre class="lines">
|
1371
1486
|
|
1372
1487
|
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1488
|
+
41
|
1489
|
+
42
|
1490
|
+
43</pre>
|
1376
1491
|
</td>
|
1377
1492
|
<td>
|
1378
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1493
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 41</span>
|
1379
1494
|
|
1380
1495
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_settings'>settings</span>
|
1381
1496
|
<span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Settings</span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span>
|
@@ -1390,9 +1505,9 @@ Otherwise the class of the object will returned.</p>
|
|
1390
1505
|
</div>
|
1391
1506
|
|
1392
1507
|
<div id="footer">
|
1393
|
-
Generated on
|
1508
|
+
Generated on Sun Nov 2 11:08:44 2014 by
|
1394
1509
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1395
|
-
0.8.7.
|
1510
|
+
0.8.7.6 (ruby-2.1.3).
|
1396
1511
|
</div>
|
1397
1512
|
|
1398
1513
|
</body>
|