class Object
Public Instance Methods
indent(num_spaces)
click to toggle source
# File lib/indent.rb, line 2 def indent(num_spaces) sub(/^/, ' ' * num_spaces) end
# File lib/indent.rb, line 2 def indent(num_spaces) sub(/^/, ' ' * num_spaces) end