Class: Gm::Notepad::Pad

Inherits:
Object
  • Object
show all
Defined in:
lib/gm/notepad/pad.rb

Overview

Responsible for recording entries and then dumping them accordingly.

Instance Method Summary collapse

Instance Method Details

#close!Object



16
17
18
# File 'lib/gm/notepad/pad.rb', line 16

def close!
  renderer.close!
end

#process(input:) ⇒ Object



10
11
12
13
14
# File 'lib/gm/notepad/pad.rb', line 10

def process(input:)
  input_processor.process(input: input) do |*args|
    renderer.call(*args)
  end
end