Module: FakePipe

Defined in:
lib/fake_pipe.rb,
lib/fake_pipe/piper.rb,
lib/fake_pipe/mutator.rb,
lib/fake_pipe/version.rb,
lib/fake_pipe/postgres.rb,
lib/fake_pipe/any_block.rb,
lib/fake_pipe/commenter.rb,
lib/fake_pipe/text_block.rb,
lib/fake_pipe/postgres/copy_block.rb,
lib/fake_pipe/postgres/comment_block.rb

Defined Under Namespace

Modules: Commenter, Mutator, Postgres Classes: AnyBlock, Piper, TextBlock

Constant Summary collapse

VERSION =
'0.2.0'.freeze

Class Method Summary collapse

Class Method Details

.pipe(io:, outputter: $stdout, adapter: 'postgres') ⇒ Object



17
18
19
20
# File 'lib/fake_pipe.rb', line 17

def pipe(io:, outputter: $stdout, adapter: 'postgres')
  piper = FakePipe::Piper.new(io: io, outputter: outputter, adapter: adapter)
  piper.run
end