1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-27 14:03:40 +03:00

Remove json from Configuration.rb

(cherry picked from commit dfa0d07bc62c5c5cfe9d4536b4de3ed23bfebffa)
This commit is contained in:
Carlos Martín 2011-10-24 18:29:35 +02:00
parent 2f1fad09cc
commit 3b2c9c7281

View File

@ -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