falken 0.0.1

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.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +0 -0
  3. data/init.rb +17 -0
  4. data/lib/falken.rb +18 -0
  5. metadata +46 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: be4cd96064a6a3ac21c1acbefdf47205b135ace3
4
+ data.tar.gz: 290724a5eda719a052a336e02a79ed046b5a0144
5
+ SHA512:
6
+ metadata.gz: 6e54b2099aff7df8035c457ffeb7d0097610b5a79074478f6600d5c04bccc17693e6f20ea1922e00be9e2717f353aecf385192856d0a0056765b9c832317e8bb
7
+ data.tar.gz: 6d60f7658ed6854da26c728659bc577e01f43c92eab38852c1041bcd0effe8d1cebd78ad660005986ef7128ea911c80d0c76c93d8b852be60758304959066621
File without changes
data/init.rb ADDED
@@ -0,0 +1,17 @@
1
+
2
+
3
+ require './lib/falken'
4
+
5
+ game = Falken.new
6
+ puts game.greeting
7
+
8
+ games = game.list_games
9
+ i = 1
10
+
11
+ games.each { |g|
12
+ puts "#{i} #{g}"
13
+ i+=1
14
+ }
15
+
16
+
17
+
@@ -0,0 +1,18 @@
1
+
2
+
3
+ class Falken
4
+
5
+ def initialize
6
+ end
7
+
8
+ def greeting
9
+ greeting = "\n\nShall we play a game?\n\n"
10
+ return greeting
11
+ end
12
+
13
+ def list_games
14
+ @@games = ['Falken\'s Maze', 'Black Jack', 'Gin Rummy', 'Hearts', 'Bridge', 'Checkers', 'Chess', 'Poker', 'Fighter Combat', 'Guerrilla Engagement', 'Desert Warfare', 'Air-to-Ground Actions', 'Theaterwide Tactical Warfare', 'Theaterwide Biotoxic and Chemical Warfare', 'Global Thermonuclear War']
15
+ return @@games
16
+ end
17
+
18
+ end
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: falken
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Warren Matthews
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-09-12 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Don't mind me. I'm just exploring Ruby and creating my first gem.
14
+ email:
15
+ - warren@ourzoo.us
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - README.md
21
+ - init.rb
22
+ - lib/falken.rb
23
+ homepage: http://ourzoo.us/
24
+ licenses: []
25
+ metadata: {}
26
+ post_install_message:
27
+ rdoc_options: []
28
+ require_paths:
29
+ - lib
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - '>='
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubyforge_project:
42
+ rubygems_version: 2.0.14
43
+ signing_key:
44
+ specification_version: 4
45
+ summary: Nothing to see here, move along please.
46
+ test_files: []