Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet-lint.rb

Instance Method Summary collapse

Instance Method Details

#prepend(lead) ⇒ Object



9
10
11
# File 'lib/puppet-lint.rb', line 9

def prepend(lead)
  self.replace "#{lead}#{self}"
end