Method: CSL::Locale::Term#set
- Defined in:
- lib/csl/locale/term.rb
#set(singular, plural = nil) ⇒ Object
360 361 362 363 364 365 366 367 368 369 |
# File 'lib/csl/locale/term.rb', line 360 def set(singular, plural = nil) if plural.nil? self.text = singular else self.single = singular self.multiple = plural end self end |