muturi_multiplier 0.1.0 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 158d5d6206a8cc717ae3853a438fbf9a5d76d72e
4
- data.tar.gz: 041054511152f6e9954b22d38ce8eadf1ee88e58
3
+ metadata.gz: 4d7c647159c188905f7584d97702d93ffd3d7171
4
+ data.tar.gz: f3ecd3a28082b9a18061b2e2a96a7f79ae25462f
5
5
  SHA512:
6
- metadata.gz: 4a8f99a8a15562bf2d70c4ac19884ac83c9f3ecf6a0d84a4542b0576834633112e400be5f64c9a6c007c7b7f5fdb635802e1d9b7eff54fe9cec04d422eef4506
7
- data.tar.gz: 3c96da8428c65f830f52b1a5c46ea1b58662aa29a1b8a045ccae3d0b36d540f578013247de3bc0e74a7b55fdeb6cf9e4b6b8574cad34cc557c10def5b50740b9
6
+ metadata.gz: fad32733bf3bd7178944cb3fef403f8ffec2b6e5f75d01331997090933f3a6c6bb3f1c2c7420a748e69a36f9d78133ad7af6e6fffcdf4ab9adac4dc194e41ff8
7
+ data.tar.gz: 8413c4144ab843d8dae6fb373750ab2a8f9eece97996feac570731633fd2e0ebb3760de66bc98f35b5ea966f9ad2bf76db2499e5ebfe8e5ca43ab3a67070ed73
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # MuturiMultiplier
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/muturi_multiplier`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ Multiplier
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,7 +20,7 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ Write MuturiMultiplier.example to use the multipliers
26
24
 
27
25
  ## Development
28
26
 
@@ -1,3 +1,3 @@
1
1
  module MuturiMultiplier
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -5,5 +5,14 @@ module MuturiMultiplier
5
5
  def self.multiply(a,b)
6
6
  a*b
7
7
  end
8
+ def self.string(a,b)
9
+ a.length*b.length
10
+ end
11
+ def self.square(a,b)
12
+ a*a*b*b
13
+ end
14
+ def self.cube(a,b)
15
+ a*a*a*b*b*b
16
+ end
8
17
  end
9
18
 
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muturi_multiplier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Muturi
@@ -55,6 +55,7 @@ files:
55
55
  - bin/setup
56
56
  - lib/muturi_multiplier.rb
57
57
  - lib/muturi_multiplier/version.rb
58
+ - muturi_multiplier-0.1.0.gem
58
59
  - muturi_multiplier.gemspec
59
60
  homepage: http://rubygems.org/gems/muturi_multiplier
60
61
  licenses: