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:
parent
5fd6a1efcb
commit
3f82882301
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue