1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

Delete erroneous documentation of server? / build? (#2321)

Return value documentation was incorrect. As other Boolean return values are not explicitly documented, I just deleted it.
This commit is contained in:
Paul McMahon 2020-05-09 02:46:12 +09:00 committed by GitHub
parent 5fd6a1efcb
commit 3f82882301
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -359,14 +359,14 @@ module Middleman
end
# Whether we're in server mode
# @return [Boolean] If we're in dev mode
# @return [Boolean]
Contract Bool
def server?
mode?(:server)
end
# Whether we're in build mode
# @return [Boolean] If we're in dev mode
# @return [Boolean]
Contract Bool
def build?
mode?(:build)