reviewme 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/reviewme.rb +9 -0
  3. metadata +43 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 72f6d653c613125f7490f13ffcecf5667dffe3f4a40ca47866a4fb8804f1a284
4
+ data.tar.gz: adb0e4e9e42ed00b29d1b0ec4ca18d3baf5015189c4d86381e02aa8ae44e51b2
5
+ SHA512:
6
+ metadata.gz: 59a40e7d957c6cf7e87701628a5979f47d755401730998bd172d279f18ef7aa0010fffe5674c75dfad033dbd7afb41dd7b7285dde8747381ba3d7937db695a3e
7
+ data.tar.gz: b2afb76e148d5cb7be9b657ea5f801d9bde24c671276b00551e94831ce4a0f9155fde7d6d3ed7d036600e89df3e58afc529c404d8bdf4bc5c73b86ea7569b5d3
data/lib/reviewme.rb ADDED
@@ -0,0 +1,9 @@
1
+ class Reviewme
2
+ def self.stars(number)
3
+ output =''
4
+ if (1..5).include?(number)
5
+ number.times {output +='*'}
6
+ end
7
+ output
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: reviewme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Elizabeth Hauroo
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-12-06 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A simple star review generator gem
14
+ email: elizabeth.hauroo@hotmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/reviewme.rb
20
+ homepage: https://rubygems.org/gems/reviewme
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubygems_version: 3.3.7
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: Review Me!
43
+ test_files: []