Module: VER::Methods::Soma
- Defined in:
- config/plugin/soma.rb
Class Method Summary collapse
Class Method Details
.soma_buffer(text) ⇒ Object
29 30 31 |
# File 'config/plugin/soma.rb', line 29 def self.soma_buffer(text) soma_tempfile.open('w+'){|io| io.write(text.value) } end |
.soma_tempfile ⇒ Object
33 34 35 |
# File 'config/plugin/soma.rb', line 33 def self.soma_tempfile Pathname(Dir.tmpdir)/"#{`whoami`.strip}_somarepl_buffer" end |