Top Level Namespace

Defined Under Namespace

Modules: BobTheBuilder

Instance Method Summary collapse

Instance Method Details

#unindent(string) ⇒ Object



34
35
36
37
# File 'bin/bobify', line 34

def unindent(string)
  indentation = string[/\A\s*/]
  string.strip.gsub(/^#{indentation}/, "")
end