Trying to return from a block is a bad idea
This commit is contained in:
parent
06578c61fa
commit
77be952d41
3 changed files with 18 additions and 29 deletions
|
@ -223,7 +223,7 @@ module Middleman
|
|||
# messages, which can take a long time (minutes at full CPU)
|
||||
# if the object is huge or has cyclic references, like this.
|
||||
def to_s
|
||||
"#<Middleman::Application>"
|
||||
"#<Middleman::Application:0x#{object_id}>"
|
||||
end
|
||||
|
||||
# Expand a path to include the index file if it's a directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue