Skip to content

Commit 8091052

Browse files
committed
Since ActiveSupport included, no need for custom empty/present methods
1 parent 67811c3 commit 8091052

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

base_command.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,3 @@ def slack?
7474
SLACK_HOOK_URL != ''
7575
end
7676
end
77-
78-
class String
79-
def blank?
80-
/\A[[:space:]]*\z/ === self
81-
end
82-
83-
def present?
84-
!blank?
85-
end
86-
end

0 commit comments

Comments
 (0)