Class: AssertEfficientSql::BufferStdout

Inherits:
Object
  • Object
show all
Defined in:
lib/assert_efficient_sql.rb

Overview

FIXME gotta be private

Instance Method Summary collapse

Instance Method Details

#outputObject


346
# File 'lib/assert_efficient_sql.rb', line 346

def output;  @output || ''  end

#write(stuff) ⇒ Object


343
344
345
# File 'lib/assert_efficient_sql.rb', line 343

def write(stuff)
  (@output ||= '') << stuff
end