method virtual set_attribute : string -> string -> unit