Skip to content

using gsub! path, false gives an error #31

@kibs

Description

@kibs

I cant replace a path with false. replacing with true works nicely.

doc.gsub! path, false
NoMethodError: undefined method `call' for nil:NilClass
from /usr/local/var/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/jsonpath-0.5.6/lib/jsonpath/enumerable.rb:95:in `yield_value'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions