diff options
| author | Chris Aporta <[email protected]> | 2016-03-13 13:49:19 -0400 |
|---|---|---|
| committer | Chris Aporta <[email protected]> | 2016-03-13 13:49:19 -0400 |
| commit | cc85864f0936262f7bab586f9f2b22cd08059a12 (patch) | |
| tree | 1518e096d57e60cfe2c4bc968c0879292e49c98b /ext | |
| parent | 96823748c68c65d1d54df7b0d9336df080b62d58 (diff) | |
| download | ruby2d-cc85864f0936262f7bab586f9f2b22cd08059a12.tar.gz ruby2d-cc85864f0936262f7bab586f9f2b22cd08059a12.zip | |
refactor set method to return true or false
in previous implementation, set method was returning either the value of @height or nil (as evaluated by final if statement).
returning boolean to reflect either successful or unsuccessful assignment seems to match return patterns in other window methods (e.g. #add, #remove).
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions
