quote_machine 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/quote_machine.rb +2 -2
- data/lib/quote_machine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39c1935fb08ca57c1ead2f7c6c817847bed8afaf678f0175dc5dd4a4ecdadc13
|
4
|
+
data.tar.gz: 7f6634a98a9691301b0f47b9ac2ca9ce821e2076e0d5c9a596eead16e4df0d32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f2df7a3e973a64fff7805118db7dc6af56e45b9359dcbe00c0fef2c82e44745d12f63037e937d4bcbbcf4e03ef848275083ad861de14314f90ace456450543d
|
7
|
+
data.tar.gz: e5514a4f0b6c4a467029afdb58a90f6d77896e50cc81cbb22ac0bf4b53bebda0a7184dc1ee39910cb24b7db3008c117c17474279f44ca200174036f6db753929
|
data/Gemfile.lock
CHANGED
data/lib/quote_machine.rb
CHANGED
@@ -85,13 +85,13 @@ end
|
|
85
85
|
|
86
86
|
def show_previous_section
|
87
87
|
if @section_current > 0
|
88
|
-
"
|
88
|
+
"#{@poem[@stanza_current][@section_current - 1]}"
|
89
89
|
end
|
90
90
|
end
|
91
91
|
|
92
92
|
def show_next_section
|
93
93
|
if @section_current < (@poem[@stanza_current].length - 1)
|
94
|
-
" #{@poem[@stanza_current][@section_current + 1]}
|
94
|
+
" #{@poem[@stanza_current][@section_current + 1]}"
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|