From 545b893ef4d2450c857a2497f761a26bc4430f0c Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 5 Nov 2013 16:37:18 -0500 Subject: [PATCH] clean up a couple YARD warnings --- lib/rscons/environment.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rscons/environment.rb b/lib/rscons/environment.rb index 03f6eba..72a039a 100644 --- a/lib/rscons/environment.rb +++ b/lib/rscons/environment.rb @@ -6,7 +6,7 @@ module Rscons # contains a collection of construction variables, options, builders, and # rules for building targets. class Environment - # [Hash] of {"builder_name" => builder_object} pairs. + # Hash of +{"builder_name" => builder_object}+ pairs. attr_reader :builders # Create an Environment object. @@ -164,7 +164,7 @@ module Rscons # @param short_desc [String] Message to print if the Environment's :echo # mode is set to :short # @param command [Array] The command to execute. - # @param options [Hash] Optional options to pass to {Kernel#system}. + # @param options [Hash] Optional options to pass to Kernel#system. def execute(short_desc, command, options = {}) print_command = proc do puts command.map { |c| c =~ /\s/ ? "'#{c}'" : c }.join(' ')