mirror of
https://github.com/nishiki/manage-password.git
synced 2024-11-27 07:33:05 +00:00
beautiful code
This commit is contained in:
parent
1ab3c7e0b0
commit
83f935dc21
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ module MPW
|
|||
attr_accessor :enable
|
||||
|
||||
# Constructor
|
||||
def initialize()
|
||||
def initialize
|
||||
@error_msg = nil
|
||||
@enable = false
|
||||
end
|
||||
|
@ -113,7 +113,7 @@ module MPW
|
|||
end
|
||||
|
||||
# Close the connection
|
||||
def close()
|
||||
def close
|
||||
if !@enable
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue