class CounterRenderer

Renders verbs in the form of a count of how many there are.

Public Class Methods

new() click to toggle source
# File lib/conjugatefr/renderers.rb, line 94
def initialize; @count = 0; end

Public Instance Methods

description() click to toggle source
# File lib/conjugatefr/renderers.rb, line 101
def description; "Renders out a count of how many words are listed."; end
post() click to toggle source
# File lib/conjugatefr/renderers.rb, line 98
def post
  puts @count
end
word(name, words) click to toggle source
# File lib/conjugatefr/renderers.rb, line 95
def word (name, words)
  @count += 1
end