diff --git a/lib/rscons/environment.rb b/lib/rscons/environment.rb index 031013e..218d124 100644 --- a/lib/rscons/environment.rb +++ b/lib/rscons/environment.rb @@ -7,7 +7,7 @@ module Rscons # contains a collection of construction variables, options, builders, and # rules for building targets. class Environment - # @return [Hash] Set of \{"builder_name" => builder_object} pairs. + # @return [Hash] Set of !{"builder_name" => builder_object} pairs. attr_reader :builders # :command, :short, or :off diff --git a/lib/rscons/varset.rb b/lib/rscons/varset.rb index 0f9eee8..3c617b9 100644 --- a/lib/rscons/varset.rb +++ b/lib/rscons/varset.rb @@ -83,7 +83,7 @@ module Rscons end alias_method :clone, :merge - # Replace "$\{var}" variable references in varref with the expanded + # Replace "$!{var}" variable references in varref with the expanded # variables' values, recursively. # # @param varref [nil, String, Array, Proc] @@ -92,7 +92,7 @@ module Rscons # Arguments to pass to any lambda variable values to be expanded. # # @return [nil, String, Array] - # Expanded value with "$\{var}" variable references replaced. + # Expanded value with "$!{var}" variable references replaced. def expand_varref(varref, lambda_args) if varref.is_a?(String) if varref =~ /^(.*)\$\{([^}]+)\}(.*)$/