Use more ruby-esque naming convention for parameter
Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/59eb77a4 Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/59eb77a4 Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/59eb77a4 Branch: refs/heads/master Commit: 59eb77a44dfb12d27170d851c68a5bcacfd66d28 Parents: 4c5fc10 Author: Peter Donald <[email protected]> Authored: Mon Feb 20 21:17:29 2017 +1100 Committer: Peter Donald <[email protected]> Committed: Mon Feb 20 22:34:27 2017 +1100 ---------------------------------------------------------------------- addon/buildr/bnd.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/59eb77a4/addon/buildr/bnd.rb ---------------------------------------------------------------------- diff --git a/addon/buildr/bnd.rb b/addon/buildr/bnd.rb index d0f247d..f709c24 100644 --- a/addon/buildr/bnd.rb +++ b/addon/buildr/bnd.rb @@ -21,8 +21,8 @@ module Buildr @@version end - def version=(newVersion) - @@version = newVersion + def version=(version) + @@version = version end # The specs for requirements
