Last active
May 16, 2018 12:06
-
-
Save mleszcz/dc3a5871bf30ffbc41cbc485490dd5e3 to your computer and use it in GitHub Desktop.
This file contains 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
class Square < Rectangle | |
def set_width(width) | |
@width = width | |
@height = height | |
some_ui_width_related_callbacks | |
some_ui_height_related_callbacks | |
end | |
def set_height(height) | |
set_width(height) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment