Sha256: 7d369c89433e359ab3d3cdc3c0ae610884d883d0be2e36e47505334261305b3f
Contents?: true
Size: 404 Bytes
Versions: 1
Compression:
Stored size: 404 Bytes
Contents
class Boom::Platform class Base def open_file file system("#{open_command} #{file}") end def edit json_file if $EDITOR return yield if block_given? system "`echo $EDITOR` #{json_file} &" else open_file json_file end end def copy item IO.popen(copy_command,"w") {|cc| cc.write(item.value)} item.value end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kaboom-0.3.3 | lib/kaboom/platform/base.rb |