lib/ramaze/helper/formatting.rb in manveru-ramaze-2009.04 vs lib/ramaze/helper/formatting.rb in manveru-ramaze-2009.04.01
- old
+ new
@@ -1,11 +1,9 @@
# Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.
module Ramaze
module Helper::Formatting
- module_function
-
FORMATTING_NUMBER_COUNTER = { 0 => 'no', 2 => 'two', 3 => 'three',
4 => 'four', 5 => 'five', 6 => 'six', 7 => 'seven', 8 => 'eight',
9 => 'nine', 10 => 'ten' }
# Answers with a representation of given +count+ with correct grammar.