counter2000 0.0.3 → 0.0.4

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.
data/lib/counter2000.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'counter2000/help.rb'
2
+
1
3
  class Counter
2
4
  def initialize(label = "Counter")
3
5
  @count = 0; @label = label
@@ -0,0 +1,9 @@
1
+ class Help
2
+ def methods
3
+ puts "click: add one to count"
4
+ puts "reset: reset counter to zero"
5
+ puts "count: prints the current value of count"
6
+ puts "to_s : prints a nicer version of count"
7
+ end
8
+ end
9
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: counter2000
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -19,6 +19,7 @@ extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - lib/counter2000.rb
22
+ - lib/counter2000/help.rb
22
23
  homepage: http://rubygems.org/gems/counter
23
24
  licenses:
24
25
  - none