Created
October 30, 2010 16:51
setting up the params for the setter and creating the method builder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define "set" accessor method for the property. | |
set_params = System::Collections::Generic::List.of(Type).new | |
set_params.add type | |
set_method = tb.DefineMethod("set_#{name}", get_set_attr, nil, | |
set_params.ToArray) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment