calculator_demo 0.1.2 → 1.0.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/examples/basic_arithmetic.rb +11 -0
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca680be2dfd9aad5f48619a7743e0ddb9e2ab4797cb5f57ccf39ddac40f1e636
4
- data.tar.gz: 6df3c08e4f41de947f12d714a541ed1d9e865278f4d66c43cf0579ed957bdaf1
3
+ metadata.gz: fbc46e7c70dd13c9deb781c31207675c67b9df691084000c8eb88363cfe5222f
4
+ data.tar.gz: 06e8fcd8008229e75e2d61f12bcb508f29d09bb187957b116cdaa3710890bb28
5
5
  SHA512:
6
- metadata.gz: ba345ff4072bf596c906c4d2c634e99b054cd2e7298a324386b75b286f6f871b2c4d501937d1272db8e24f6e64c1665647e36e9aae361c464d7fdae91e30fd49
7
- data.tar.gz: 8b396dfdad02e7755cf19fa59f30085df82cb4a7f9370b0f128c5f8255b672d46df466f2166260a9a86229a5106522fdda2875313f7399e7fc9c3153c12e37a6
6
+ metadata.gz: 1279bf380cf80ecbe1a0810834e0e75e1479fa5141ab34a3d4bc788492471b354b00cc4b2dafa614d8d43fc63de60763fa02ab6dc7d75f11b163106a46a1169f
7
+ data.tar.gz: 99992a8ceda7f2e91210d490f477770945dbd99061cffff1b51354c50568a947a9b7e6ebb2430ff2db578d5dd5ca29e1ec86a80c89210061ee2a86d6526d1264
@@ -0,0 +1,11 @@
1
+ require "calculator_demo"
2
+
3
+ #Create an object
4
+ obj = CalculatorDemo::Calci.new
5
+
6
+ ##call instance methods.
7
+ puts obj.add(1.5,2,3,4)
8
+ puts obj.sub(1.5,2,3)
9
+ puts obj.mul(5,6)
10
+ puts obj.div(15.5,2,2)
11
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calculator_demo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hasmukh Rathod
@@ -10,12 +10,13 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2018-01-31 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Operations with multiple numbers
13
+ description: Perform basic arithmetic operations with multiple arguments
14
14
  email: hasmukh@thinkbiz.co.in
15
15
  executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
+ - examples/basic_arithmetic.rb
19
20
  - lib/calculator_demo.rb
20
21
  homepage: https://rubygems.org/gems/calculator_demo
21
22
  licenses: