Skip to content

Commit

Permalink
Merge pull request #36 from Hadescho/remove_blank_monkeypatch
Browse files Browse the repository at this point in the history
Remove the Fixnum#blank? monkeypatch
  • Loading branch information
djcas9 committed Mar 13, 2017
2 parents 4da796f + 6f99914 commit 608f47e
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions lib/ruby-nessus/core_ext/helpers.rb
@@ -1,18 +1,5 @@
class Fixnum

# Return false if the integer does NOT equal zero
# @return [Boolean]
# Return true is count does NOT equal zero
# @example
# host.event_count.blank? #=> false
def blank?
if (self.zero?)
return true
else
return false
end
end

# Return a severity integer in words.
# @return [String]
# Return a severity integer in words.
Expand Down

0 comments on commit 608f47e

Please sign in to comment.