Created
October 12, 2017 09:29
-
-
Save kenchan/8732b456e2bef8640dd5852add0ae0d9 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 Ruler | |
def initialize(default_length = 30) | |
@length = default_length | |
@delfaut_length = default_length | |
end | |
def reset_length_to_default | |
@length = @default_length | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment