class Rufo::Command
def format(code, dir)
def format(code, dir) @squiggly_warning = false formatter = Rufo::Formatter.new(code) options = @dot_file.get_config_in(dir) unless options.nil? formatter.init_settings(options) end formatter.format result = formatter.result @squiggly_warning = true if formatter.squiggly_flag result end