hello_ruby 0.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.
- checksums.yaml +7 -0
- data/lib/hello_ruby.rb +25 -0
- metadata +44 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 32b765edd63038dfcd1eaa42dbfd8aa3c607e302
|
4
|
+
data.tar.gz: 5b2e0934fb6a2ebca1829799398d2bcc472a8b04
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1b5284fa2f3ae2681cd03411df94e83f20c01958cf64efc58288cc4b4cff999ea796d8eed26ad70346b8c26b32607db076e5997c0b63bf3b661aac8c1267c8d6
|
7
|
+
data.tar.gz: 9bde22af99eb29c2f6a1f390da0859a7d8b2be5c1d9f2ac535a1ac629303572ec1055a3dd98946ff919088966975ac4ea4facd4eac2208208ee1f223bae9ee44
|
data/lib/hello_ruby.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
class HelloRuby
|
2
|
+
def self.hi
|
3
|
+
puts "Hello ruby!"
|
4
|
+
end
|
5
|
+
|
6
|
+
def self.version
|
7
|
+
puts "2.4.0"
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.creator
|
11
|
+
puts "Yukihiro Matsumoto (Matz)"
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.info
|
15
|
+
puts "Ruby is a dynamic, reflective, object-oriented, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro Matsumoto in Japan. According to its creator, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp."
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.os
|
19
|
+
puts "Cross-platform"
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.license
|
23
|
+
puts "Ruby, GPLv2 or 2-clause BSD license"
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hello_ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Masud Rana
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-05-21 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: A simple hello ruby gem to know ruby language basic info
|
14
|
+
email: masudcsesust04@gmail.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/hello_ruby.rb
|
20
|
+
homepage: http://rubygems.org/gems/hello_ruby
|
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.10
|
41
|
+
signing_key:
|
42
|
+
specification_version: 4
|
43
|
+
summary: Hello ruby!
|
44
|
+
test_files: []
|