From 3b2c9c728168c357e73f426bfe3db0b8d77300be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Mon, 24 Oct 2011 18:29:35 +0200 Subject: [PATCH] Remove json from Configuration.rb (cherry picked from commit dfa0d07bc62c5c5cfe9d4536b4de3ed23bfebffa) --- src/oca/ruby/OpenNebula/Configuration.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/oca/ruby/OpenNebula/Configuration.rb b/src/oca/ruby/OpenNebula/Configuration.rb index d21d2c78a2..aaef7fe89f 100644 --- a/src/oca/ruby/OpenNebula/Configuration.rb +++ b/src/oca/ruby/OpenNebula/Configuration.rb @@ -13,7 +13,6 @@ # See the License for the specific language governing permissions and # # limitations under the License. # #--------------------------------------------------------------------------- # -require 'json' module OpenNebula ############################################################################ @@ -61,10 +60,6 @@ module OpenNebula @conf[key.to_s.upcase] end - def to_json - JSON::generate(@conf) if @conf - end - ######################################################################## ######################################################################## private