class Objctify::Command::Init
Public Instance Methods
run()
click to toggle source
# File lib/objctify/command/init.rb, line 14 def run template_path = "#{File.dirname(__FILE__)}/../templates/Objctifile-template" contents = File.read(template_path) File.write('Objctifile', contents) puts 'Have fun!' end