require 'thor' require 'fwtoolkit/tasks/build' require 'fwtoolkit/tasks/cocoapods' require 'fwtoolkit/tasks/frank' require 'fwtoolkit/tasks/services' require 'fwtoolkit/tasks/ci' FWToolkit::Tasks::Cocoapods.new.install_tasks FWToolkit::Tasks::Frank.new.install_tasks FWToolkit::Tasks::Services.new.install_tasks FWToolkit::Tasks::CI.new.install_tasks # monkey patching string to add the ruby_format method # used in frank:model tasks class String def ruby_format self.gsub(/(.)([A-Z])/,'\1_\2').downcase end def ruby_format! replace ruby_format end end