rl_hiya_allen_douglas 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/hiya.rb +23 -0
  2. data/lib/test_hiya.rb +6 -0
  3. metadata +49 -0
data/lib/hiya.rb ADDED
@@ -0,0 +1,23 @@
1
+ =begin
2
+ puts "debug line <number> #{var}"
3
+ =end
4
+
5
+ $x = 42
6
+
7
+ class Hiya
8
+
9
+ message1 = "Hi all from rubylearning PFTWWR-41"
10
+ message2 = "debug line 10 #{$x} is the meaning of life. lol"
11
+ @@message = message1 << "\n" << message2
12
+
13
+ def self.hiya
14
+ print @@message
15
+ end
16
+
17
+ def hiya
18
+ @message = @@message
19
+ end
20
+ end
21
+
22
+ test = Hiya.new
23
+ test.hiya
data/lib/test_hiya.rb ADDED
@@ -0,0 +1,6 @@
1
+
2
+ require 'hiya'
3
+
4
+ hiya = Hiya.new
5
+
6
+ puts hiya.hiya
metadata ADDED
@@ -0,0 +1,49 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rl_hiya_allen_douglas
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Satish Talim
9
+ - Douglas Allen
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2012-02-20 00:00:00.000000000 Z
14
+ dependencies: []
15
+ description: prints two lines of message text
16
+ email:
17
+ - satish@rubylearning.org
18
+ - kb9agt@gmail.com
19
+ executables: []
20
+ extensions: []
21
+ extra_rdoc_files: []
22
+ files:
23
+ - lib/hiya.rb
24
+ - lib/test_hiya.rb
25
+ homepage: http://rubygems.org/gems/rl_hiya_allen_douglas
26
+ licenses: []
27
+ post_install_message:
28
+ rdoc_options: []
29
+ require_paths:
30
+ - lib
31
+ required_ruby_version: !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ required_rubygems_version: !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ! '>='
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ requirements: []
44
+ rubyforge_project:
45
+ rubygems_version: 1.8.17
46
+ signing_key:
47
+ specification_version: 3
48
+ summary: revised from version 0.0.2 after unable to repush v 0.0.2
49
+ test_files: []