Class: Console::Output::Null

Inherits:
Object
  • Object
show all
Defined in:
lib/console/output/null.rb

Instance Method Summary collapse

Constructor Details

#initializeNull

Returns a new instance of Null.



9
10
# File 'lib/console/output/null.rb', line 9

def initialize(...)
end

Instance Method Details

#callObject



16
17
18
# File 'lib/console/output/null.rb', line 16

def call(...)
	# Do nothing.
end

#last_outputObject



12
13
14
# File 'lib/console/output/null.rb', line 12

def last_output
	self
end