Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/dot11.rb
Instance Method Summary collapse
Instance Method Details
#indent(depth) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/dot11.rb', line 2 def indent(depth) indented = "" self.each_line do |line| indented += " " * depth + line end indented end |