meiou 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/books/astronomy.txt +1733 -0
- data/lib/meiou/astronomy.rb +6 -0
- data/lib/meiou/version.rb +1 -1
- metadata +2 -1
data/lib/meiou/astronomy.rb
CHANGED
@@ -56,6 +56,10 @@ module ASTRO
|
|
56
56
|
def self.planets
|
57
57
|
[:mercury,:venus,:mars,:vesta,:ceres,:jupiter,:saturn,:uranus,:neptune,:pluto]
|
58
58
|
end
|
59
|
+
def self.init!
|
60
|
+
File.open("books/astronomy.txt",'w') { |f| f.write(ASTRO.to_s) }
|
61
|
+
end
|
62
|
+
|
59
63
|
end
|
60
64
|
|
61
65
|
module Meiou
|
@@ -63,3 +67,5 @@ module Meiou
|
|
63
67
|
ASTRO
|
64
68
|
end
|
65
69
|
end
|
70
|
+
|
71
|
+
Meiou.init(:astro) { |h| ASTRO.init! }
|
data/lib/meiou/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meiou
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Olson
|
@@ -166,6 +166,7 @@ files:
|
|
166
166
|
- books/Doctor_and_Patient.txt
|
167
167
|
- books/Roman_Farm_Management.txt
|
168
168
|
- books/Social_Organization.txt
|
169
|
+
- books/astronomy.txt
|
169
170
|
- books/interpretation_of_dreams.txt
|
170
171
|
- books/the_prince.txt
|
171
172
|
- lib/meiou.rb
|