diff options
Diffstat (limited to 'ext/tk/lib/tk')
-rw-r--r-- | ext/tk/lib/tk/dialog.rb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ext/tk/lib/tk/dialog.rb b/ext/tk/lib/tk/dialog.rb index d468c6e8b1..180da101e3 100644 --- a/ext/tk/lib/tk/dialog.rb +++ b/ext/tk/lib/tk/dialog.rb @@ -199,13 +199,14 @@ class TkDialogObj < TkWindow end def name - @buttons[@val] + (@val)? @buttons[@val]: nil end - ###################################################### - # # - # these methods must be overridden for each dialog # - # # - ###################################################### + + ############################################################ + # # + # following methods should be overridden for each dialog # + # # + ############################################################ private def title |