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 end
# Whether we're in server mode # Whether we're in server mode
# @return [Boolean] If we're in dev mode # @return [Boolean]
Contract Bool Contract Bool
def server? def server?
mode?(:server) mode?(:server)
end end
# Whether we're in build mode # Whether we're in build mode
# @return [Boolean] If we're in dev mode # @return [Boolean]
Contract Bool Contract Bool
def build? def build?
mode?(:build) mode?(:build)