lib/hexx/rspec/install.rb in hexx-rspec-0.0.1 vs lib/hexx/rspec/install.rb in hexx-rspec-0.1.0

- old
+ new

@@ -11,19 +11,27 @@ # # @return [undefined] # # @api public + class_option( + :rakefile, + default: true, + desc: "Create the Rakefile", + type: :boolean + ) + # @private def self.source_root @source_root ||= File.expand_path "../install", __FILE__ end namespace :install desc "Installs the 'hexx-rspec' gem." # @private def create_rakefile + return unless options[:rakefile] copy_file "Rakefile" end # @private def create_rspec