Skip to content

Syntax in Rack slide 3 does not work in recent version of Rack and ruby #259

@yaroslavrick

Description

@yaroslavrick

Syntax in Rack slide 3 does not work in recent version of Rack (rack-3.1.16) and ruby (3.4.1):

Image

Current line of code that does not works in slides/rack.markdown:

class Racker
  def call(env)
    [200, { 'Content-Type' => 'text/plain' }, ['Something happens!']]
  end
end

Should be fixed to this:

class Racker
  def call(env)
    [200, { 'content-type' => 'text/plain' }, ['Something happens!']]
  end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions