Class: IntercomExport::Listener::Std
- Inherits:
-
Object
- Object
- IntercomExport::Listener::Std
- Defined in:
- lib/intercom_export/listener/std.rb
Instance Method Summary collapse
- #executing(command) ⇒ Object
-
#initialize(stdout: STDOUT, stderr: STDERR) ⇒ Std
constructor
A new instance of Std.
Constructor Details
#initialize(stdout: STDOUT, stderr: STDERR) ⇒ Std
Returns a new instance of Std.
4 5 6 7 |
# File 'lib/intercom_export/listener/std.rb', line 4 def initialize(stdout: STDOUT, stderr: STDERR) @stdout = stdout @stderr = stderr end |
Instance Method Details
#executing(command) ⇒ Object
9 10 11 12 |
# File 'lib/intercom_export/listener/std.rb', line 9 def executing(command) puts "Importing: #{command.inspect}" puts end |