first_gem_sheena 0.0.5
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 +7 -0
- data/lib/first_gem_sheena.rb +11 -0
- metadata +44 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: f07420b71c28e9160e377e3df53085f1924ce738
|
|
4
|
+
data.tar.gz: e010d55b52243a997d7189b6345163d55881bcec
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: daf7e70beac0de792c094d89588d3d2ca30bdf5b10e4f084128bb9655e336a845730fc4be25008f1d98e376d06e538afac986049e7a925819abe90ac1634d23f
|
|
7
|
+
data.tar.gz: 3fccded857309d7603e17fcf4faf272fdc2b18f4ad944440f6f23b9c5b9f6f1528e5166779a64333cfc5455ac58f712ac295c8a7b96032c4bfdff2b1b8c2df86
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#simple program written to get the hang of writing ruby gems.
|
|
2
|
+
|
|
3
|
+
class Hello
|
|
4
|
+
def self.my_first_gem_sheena
|
|
5
|
+
puts "What is your name?" #Asks user what their name is
|
|
6
|
+
name = gets.chomp.to_s #stores the answer under the variable "name"
|
|
7
|
+
puts "What is your age?" #Asks the user what their age is
|
|
8
|
+
age = gets.chomp.to_s #stores the answer under th variable "name"
|
|
9
|
+
puts "Hello, #{name}, you are #{age} years old" #prints to screen what you see, and inserts in the area with #{name} and #{age} what information the user has put in.
|
|
10
|
+
end
|
|
11
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: first_gem_sheena
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.5
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Sheena Takkenberg
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2016-04-21 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: My first gem to get the hang of what I am doing
|
|
14
|
+
email: sheena.takkenberg@gmail.com
|
|
15
|
+
executables: []
|
|
16
|
+
extensions: []
|
|
17
|
+
extra_rdoc_files: []
|
|
18
|
+
files:
|
|
19
|
+
- lib/first_gem_sheena.rb
|
|
20
|
+
homepage: http://ruby.org/gems/first_gem_sheena
|
|
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
|
+
rubyforge_project:
|
|
40
|
+
rubygems_version: 2.6.3
|
|
41
|
+
signing_key:
|
|
42
|
+
specification_version: 4
|
|
43
|
+
summary: Simple interactive gem
|
|
44
|
+
test_files: []
|