diff options
author | Xabier de Zuazo <xabier@onddo.com> | 2014-11-27 23:00:56 +0100 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-01-27 11:59:40 -0800 |
commit | d728f5b8d8179bd81b2ff44ef8ddae89e573bebe (patch) | |
tree | 673137cc1791844603f2b41860b9f95bfe7539bc /lib | |
parent | 8b4b26b6858e681a6d9d1c65abd7f97f68ee42c1 (diff) | |
download | chef-d728f5b8d8179bd81b2ff44ef8ddae89e573bebe.tar.gz |
Update some ruby 1.8 related comments (issue #2497)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/template.rb | 5 | ||||
-rw-r--r-- | lib/chef/run_context.rb | 4 |
2 files changed, 4 insertions, 5 deletions
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". |