Class: Morpheus::Terminal::Blackhole
- Inherits:
-
Object
- Object
- Morpheus::Terminal::Blackhole
- Defined in:
- lib/morpheus/terminal.rb
Overview
todo: this can be combined with Cli::Shell
Instance Method Summary collapse
- #accrete_data(*mgs) ⇒ Object (also: #print, #puts, #<<, #write)
-
#initialize(*args) ⇒ Blackhole
constructor
< File.
Constructor Details
#initialize(*args) ⇒ Blackhole
< File
47 48 49 50 |
# File 'lib/morpheus/terminal.rb', line 47 def initialize(*args) # we shouldn't actually need a File tho.. but Readline wants one # File.open(Morpheus::Cli.windows? ? 'NUL:' : '/dev/null', 'w') end |
Instance Method Details
#accrete_data(*mgs) ⇒ Object Also known as: print, puts, <<, write
52 53 54 55 |
# File 'lib/morpheus/terminal.rb', line 52 def accrete_data(*mgs) # Singularity.push(*msgs) return nil end |