Guest User

Untitled

a guest
Jun 20th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. # Define "set" accessor method for the property.
  2. set_params = System::Collections::Generic::List.of(Type).new
  3. set_params.add type
  4. set_method = tb.DefineMethod("set_#{name}", get_set_attr, nil,
  5. set_params.ToArray)
Add Comment
Please, Sign In to add comment