Method: Nagoro::Pipe::Tidy#tidy

Defined in:
lib/nagoro/pipe/tidy.rb

#tidy(string) ⇒ String

Pipe given string through the tidy binary.

Parameters:

  • string (#to_s)

Returns:

  • (String)

Author:

  • manveru



44
45
46
# File 'lib/nagoro/pipe/tidy.rb', line 44

def tidy(string)
  Nagoro::Tidy.tidy(string, FLAGS)
end