class Hash

Public Instance Methods

my_json() click to toggle source
# File lib/annlat/AnnLat.rb, line 170
def my_json
  if self[:objects] and self[:types]
    hash={}
    hash[:objects] = self[:objects].map {|row| row.map {|cell| cell.my_json }}
    hash[:types]=self[:types]
    hash
  end
end