Method: String#braced
- Defined in:
- lib/wavefront-cli/output/hcl/stdlib/string.rb
#braced(indent = 0) ⇒ Object
7 8 9 10 |
# File 'lib/wavefront-cli/output/hcl/stdlib/string.rb', line 7 def braced(indent = 0) pad = ' ' * indent "\n#{pad}{#{self}\n#{pad}}" end |