Skip to content

Piping doesn't work with proc object #2

@aliaksandr-martsinovich

Description

I might be missing something, but can't get pipes to work with previously created Procs

-> { 'hey' }.>>{ |x| x }.unwrap
=> "hey"
-> { 'hey' }.>>&Proc.new{ |x| x }.unwrap
NoMethodError: undefined method `piped=' for nil:NilClass

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