Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/ralphql/inflections.rb

Instance Method Summary collapse

Instance Method Details

#to_ralphqlObject



4
5
6
# File 'lib/ralphql/inflections.rb', line 4

def to_ralphql
  "{#{map { |key, value| "#{key}:#{value.to_ralphql}" }.join(', ')}}"
end