# File lib_wpm/wpm.rb, line 1821 def set_property(name, attr_map, value) case (name) when 'value' @value = get_property(attr_map, value, 'string', 'accessor', 'eval') when 'default' @default = get_property(attr_map, value, 'string', 'accessor', 'eval') when 'escape' @escape = get_property(attr_map, value, 'bool', 'accessor', 'eval') else raise PropertyError, "unknown property: #{name.inspect}: at #{widget_id.inspect}" end nil end