Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 125 Bytes
class SimpleCounter
attr_reader :count
def initialize
@count = 0
end
def increment
@count += 1
end
end