Sha256: e918222fdd0ba4ac483545aac65bb6a7ab7cae0e07eb62a413b8a02c2e3e6a9c
Contents?: true
Size: 306 Bytes
Versions: 3
Compression:
Stored size: 306 Bytes
Contents
module Scide def self.setup *args options = args.last.kind_of?(Hash) ? args.pop : {} dir = current_project_dir args, options file = File.join dir, '.screenrc' error "#{file} already exists" if File.exists? file File.open(file, 'w'){ |f| f.write auto_config } file end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
scide-1.0.0 | lib/scide/setup.rb |
scide-0.1.1 | lib/scide/setup.rb |
scide-0.1.0 | lib/scide/setup.rb |