From d728f5b8d8179bd81b2ff44ef8ddae89e573bebe Mon Sep 17 00:00:00 2001 From: Xabier de Zuazo Date: Thu, 27 Nov 2014 23:00:56 +0100 Subject: Update some ruby 1.8 related comments (issue #2497) --- lib/chef/resource/template.rb | 5 ++--- lib/chef/run_context.rb | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/chef/resource/template.rb b/lib/chef/resource/template.rb index 8c9607ee07..67a9e6a418 100644 --- a/lib/chef/resource/template.rb +++ b/lib/chef/resource/template.rb @@ -102,9 +102,8 @@ class Chef # # ==== Method Arguments: # Helper methods can also take arguments. The syntax available for - # argument specification will be dependent on ruby version. Ruby 1.8 only - # supports a subset of the argument specification syntax available for - # method definition, whereas 1.9 supports the full syntax. + # argument specification supports full syntax available for method + # definition. # # Continuing the above example of simplifying attribute access, we can # define a helper to look up app-specific attributes like this: diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb index bb1bf28ad7..419e8e8fb9 100644 --- a/lib/chef/run_context.rb +++ b/lib/chef/run_context.rb @@ -198,7 +198,7 @@ ERROR_MESSAGE end # An Array of all recipes that have been loaded. This is stored internally - # as a Hash, so ordering is not preserved when using ruby 1.8. + # as a Hash, so ordering is preserved. # # Recipe names are given in fully qualified form, e.g., the recipe "nginx" # will be given as "nginx::default" @@ -209,7 +209,7 @@ ERROR_MESSAGE end # An Array of all attributes files that have been loaded. Stored internally - # using a Hash, so order is not preserved on ruby 1.8. + # using a Hash, so order is preserved. # # Attribute file names are given in fully qualified form, e.g., # "nginx::default" instead of "nginx". -- cgit v1.2.1