lib/roda.rb
# The body to use for the response if the response does not already have
# a body.  By default, a String is returned directly, and nil is
# returned otherwise.
The body to use for the response if the response does not already have
a body.  By default, a String is returned directly, and nil is
returned otherwise.
The body to use for the response if the response does not already have a body . By default a String is returned directly and nil is returned otherwise .
def block_result_body(result)
          case result
          when String
            result
          when nil, false
          else
            raise RodaError, "unsupported block result: #{result.inspect}"
          end
        end
def block_result_body ( result ) case result when String result when nil , false else raise RodaError , "unsupported block result: #{result.inspect}" end end
The body to use for the response if the response does not already have
a body.
The body to use for the response if the response does not already have a body .
# nothing
result