class Comet::SingleFieldSource
def to_hash
-
(Hash)
- The complete object as a Ruby hash
def to_hash ret = {} ret['FieldName'] = @field_name ret['FieldType'] = @field_type ret['BoolVal'] = @bool_val ret['IntVal'] = @int_val ret['StrVal'] = @str_val @unknown_json_fields.each do |k, v| ret[k] = v end ret end