Class: Hippo::Templates::Latex::Context
- Inherits:
-
ErbLatex::Context
- Object
- ErbLatex::Context
- Hippo::Templates::Latex::Context
- Defined in:
- lib/hippo/templates/latex.rb
Instance Method Summary collapse
Instance Method Details
#pluralize(count, word) ⇒ Object
17 18 19 |
# File 'lib/hippo/templates/latex.rb', line 17 def pluralize(count, word) count == 1 ? word : word.pluralize end |