rubikame 0.1.0 → 0.2.0
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.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/lib/rubikame.rb +1 -0
- data/lib/rubikame/kamen_rider_ooo.rb +41 -0
- data/lib/rubikame/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0590f6082f8a090925cb22a28c892b2d466ebc46f4e508339bf474b64ab504bd'
|
4
|
+
data.tar.gz: fc2219b665e2c50b5bb97a5f3840976d72abb673ba50c04b47910a82e9fc1811
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 962c2b7eb0da49e6001c66d98275ba0856681154c208edf58321e8170d27e4ca8dae3f57676b325ad86de9cf8f13c74c1a1712106d98fdae2fb19dbe1b8b8320
|
7
|
+
data.tar.gz: b64d6960d46e4389c808231dbd36fb0023a2a4c54a49d0d5c10a254e2bef7043853ac64b6717bf1aeb80d61dd2c7b4b33fd5542d2a9f067e67d36d424f3d5417
|
data/README.md
CHANGED
@@ -16,6 +16,17 @@ Or install it yourself as:
|
|
16
16
|
|
17
17
|
$ gem install rubikame
|
18
18
|
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
irb(main):005:0> Rubikame::KamenRiderDouble
|
22
|
+
=> Rubikame::KamenRiderDouble
|
23
|
+
irb(main):006:0> Rubikame::KamenRiderDouble.new
|
24
|
+
=> #<Rubikame::KamenRiderDouble:0x00007f95700da130>
|
25
|
+
irb(main):007:0> Rubikame::KamenRiderDouble.new.rider_kick_power
|
26
|
+
=> 16648.7
|
27
|
+
|
28
|
+
You can get the power of kamen rider !
|
29
|
+
|
19
30
|
## Development
|
20
31
|
|
21
32
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/rubikame.rb
CHANGED
@@ -0,0 +1,41 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "../rubikame/kamenriderable"
|
4
|
+
|
5
|
+
module Rubikame
|
6
|
+
class KamenRiderOOO
|
7
|
+
include Rubikame::Kamenriderable
|
8
|
+
|
9
|
+
def name
|
10
|
+
"仮面ライダーオーズタトバコンボ"
|
11
|
+
end
|
12
|
+
|
13
|
+
def height
|
14
|
+
194
|
15
|
+
end
|
16
|
+
|
17
|
+
def weight
|
18
|
+
86
|
19
|
+
end
|
20
|
+
|
21
|
+
def punch
|
22
|
+
4.5
|
23
|
+
end
|
24
|
+
|
25
|
+
def jump
|
26
|
+
190
|
27
|
+
end
|
28
|
+
|
29
|
+
def kick
|
30
|
+
12
|
31
|
+
end
|
32
|
+
|
33
|
+
def dash
|
34
|
+
4.5
|
35
|
+
end
|
36
|
+
|
37
|
+
def year
|
38
|
+
2010
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
data/lib/rubikame/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubikame
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kihaya Sugiura
|
@@ -86,6 +86,7 @@ files:
|
|
86
86
|
- exe/rubikame
|
87
87
|
- lib/rubikame.rb
|
88
88
|
- lib/rubikame/kamen_rider_double.rb
|
89
|
+
- lib/rubikame/kamen_rider_ooo.rb
|
89
90
|
- lib/rubikame/kamenriderable.rb
|
90
91
|
- lib/rubikame/version.rb
|
91
92
|
- rubikame.gemspec
|