Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/rbmediawiki/api.rb

Overview

code from rwikibot

Instance Method Summary collapse

Instance Method Details

#to_sObject



909
910
911
912
913
914
915
916
# File 'lib/rbmediawiki/api.rb', line 909

def to_s
  out = "{"
  self.each do |key, value|
    out += "#{key} => #{value},"
  end
  out = out.chop
  out += "}"
end