Sha256: 2f1c5a985875c21c34cbd6828b77c45cb609a444ba84aec38a28783534a65da6
Contents?: true
Size: 226 Bytes
Versions: 2
Compression:
Stored size: 226 Bytes
Contents
module RobotVim class ScriptFile def self.open(commands) Tempfile.open('script_file') do |temp_file| temp_file << commands temp_file.flush yield temp_file.path end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
robot-vim-0.1.1 | lib/robot-vim/script_file.rb |
robot-vim-0.1.0 | lib/robot-vim/script_file.rb |