epimath100 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dfc33b95a013088913670b6a6dad2b4bdec2d199
4
- data.tar.gz: edb093c443f19cb614ae2c754cffa59d047af727
3
+ metadata.gz: 7c7176cc2119ddd8fd46478326a2e8e7328e81ed
4
+ data.tar.gz: 51d763dbeba16fac9080d3e9c278b773e0184fd6
5
5
  SHA512:
6
- metadata.gz: 5613ff9bee2e2234790239a4b4db1c017124ac54933c6601c67720056e8b563d6e7caf60fbda5dfb3df0351988c4993186d643538a98f29ceb9e663e8e9a62d7
7
- data.tar.gz: f997b826a3534bdfe8d303c0cc9fd281168e4ac0431b06d9ffbf4f2321de265b46f63192ed6acf886c9e6bf23ae45ecba77e1010029a611a56d4dc599e67e94d
6
+ metadata.gz: 9c337597cd579ed3a674481b1fee673e253e0afb33004fb67f2b4ebb0bcf0ea7d1e897e3a74ab9f51b7615888e13c61958e93420dde2194ddea8065b1c37c047
7
+ data.tar.gz: b87907b140abd65e8a631fc503bd679370fd8d058b3d90238397852131fcc862151da8933f75b7feb3031243e8ac137d4821e568d9c4ad30c56b0e7f7dd29b55
@@ -1,10 +1,6 @@
1
1
  #encoding: utf-8
2
2
 
3
- =begin
4
- Error is a class to display and manage your simple errors
5
- =end
6
-
7
-
3
+ # Error is a class to display and manage your simple errors
8
4
  class Error
9
5
  ERR_HIGH = "Fatal Error"
10
6
  ERR_MEDIUM = "Error"
@@ -85,4 +85,12 @@ class Polynomial
85
85
 
86
86
  return y
87
87
  end
88
+
89
+ def get_degree_max
90
+ return @coef.keys.max
91
+ end
92
+
93
+ def get_degree x
94
+ return @coef[x]
95
+ end
88
96
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epimath100
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - poulet_a
@@ -11,14 +11,18 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-01-18 00:00:00.000000000 Z
14
+ date: 2014-01-19 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description: A simple hello world gem
17
17
  email:
18
18
  - poulet_a@epitech.eu
19
- - broggi_t@epitech.eu
20
- - bauwen_j@epitech.eu
21
- - caudou_j@epitech.eu
19
+ - - lib/epimath100.rb
20
+ - lib/epimath100/error.class.rb
21
+ - lib/epimath100/line.class.rb
22
+ - lib/epimath100/matrix.class.rb
23
+ - lib/epimath100/point.class.rb
24
+ - lib/epimath100/polynomial.class.rb
25
+ - lib/epimath100/vector.class.rb
22
26
  executables: []
23
27
  extensions: []
24
28
  extra_rdoc_files: []
@@ -50,8 +54,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
54
  version: '0'
51
55
  requirements: []
52
56
  rubyforge_project:
53
- rubygems_version: 2.0.14
57
+ rubygems_version: 2.2.1
54
58
  signing_key:
55
59
  specification_version: 4
56
60
  summary: EpiMath100, a ruby gem lib to use lines, functions, points, ...
57
61
  test_files: []
62
+ has_rdoc: