diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-07-22 21:30:56 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-07-22 21:30:56 -0400 |
commit | 41796e30e4597c74e7e42c3144dbe5d4fb0687c5 (patch) | |
tree | d0615cafae5362873706f04595ee5b9333a758c3 /lib/sisu/v5/utils.rb | |
parent | v5 v6: version & changelog (& rakefile) (diff) |
v5 v6: cosmetic code
Diffstat (limited to 'lib/sisu/v5/utils.rb')
-rw-r--r-- | lib/sisu/v5/utils.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sisu/v5/utils.rb b/lib/sisu/v5/utils.rb index 4d30d031..4c732a8b 100644 --- a/lib/sisu/v5/utils.rb +++ b/lib/sisu/v5/utils.rb @@ -123,7 +123,9 @@ module SiSU_Utils h end def message(msg='') - @message=(msg.empty?) ? '' : " #{msg}" + @message=(msg.nil? || msg.empty?) \ + ? '' + : ' ' + msg end def set(v=nil,x=nil) v=var(v,x) |