support for prelude.rb · Issue #3 · pry/pry-doc · GitHub
Skip to content

support for prelude.rb #3

Open
Open

Description

@kyrylo

Activity

  1. kyrylo commented on Mar 21, 2013

    @kyrylo
    MemberAuthor

    Ruby-2.0.0-p0 supports Mutex#synchronize.

    % pry
    [1] pry(main)> pry-version
    Pry version: 1.0.0.pre1 on Ruby 2.0.0.
    [2] pry(main)> ? Mutex#synchronize
    
    From: thread.c (C Method):
    Owner: Mutex
    Visibility: public
    Signature: synchronize()
    Number of lines: 2
    
    Obtains a lock, runs the block, and releases the lock when the block
    completes.  See the example under Mutex.
    

    However, Thread.exclusive is still bugged.

    [1] pry(main)> ? Thread.exclusive
    Error: Could not load source for : No such file or directory - <internal:prelude>
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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