class Skeletoruby::Commands::PrepareGemfile
Public Class Methods
call(project_name)
click to toggle source
# File lib/skeletoruby/commands/prepare_gemfile.rb, line 4 def self.call(project_name) File.open("#{project_name}/Gemfile", 'w') do |file| file.puts "source 'https://rubygems.org'" file.puts '' file.puts "gem 'rspec'" end end