symbols.rb revision 7f2dad9b7bcc8a9c37626bab9d5f9c3dfa0bccbe
b200bc3875fa06d42c8619865cc306c3297fcaccAki Tuomi def update_or_create_from_hash(hash, timestamp = Time.now)
f8ead0942a9b7c8fcf91414ed1b534d5807ca555Timo Sirainen raise ArgumentError, 'No hash given.' unless hash.is_a? Hash
ca44a6ba994aaa3231a20ef6e046dfd97a8dcd2dTimo Sirainen "Using work-around to determine symbol name and kind: #{e.inspect}")
f8ead0942a9b7c8fcf91414ed1b534d5807ca555Timo Sirainen if e2 = Symbol.where(text: hash['text']).first
if e.label
subclasses.each do |s|