Skip to content

Use of String#each breaks Ruby 1.9 #78

Closed
@windlass

Description

validate uses String#each, which was removed from Ruby 1.9. So the library doesn't work if you're on 1.9 without the following preamble:

class String
  alias :each :each_line
end

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions