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
|
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)
|
||||||
|
|
Loading…
Reference in a new issue