Method: Puppet::Pops::LabelProvider#a_an_uc
- Defined in:
- lib/puppet/pops/label_provider.rb
#a_an_uc(o) ⇒ Object
Produces a label for the given text with indefinite article (A/An)
25 26 27 28 |
# File 'lib/puppet/pops/label_provider.rb', line 25 def a_an_uc o text = label(o) "#{article(text).capitalize} #{text}" end |