Skip to content


Browse files Browse the repository at this point in the history
Add Rubinius::Thunk#value accessors.
This will allow thunk method values to be inspected without
having to call the method or changed without having to
redeclare the method and invalidate VM method caches.
  • Loading branch information
jemc committed Jun 8, 2015
1 parent 3c7b4ec commit c3974af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/bootstrap/thunk.rb
Expand Up @@ -4,6 +4,8 @@ def
Rubinius.primitive :thunk_create
raise PrimitiveFailure, " primitive failed"

attr_accessor :value

class CallUnit
Expand Down

0 comments on commit c3974af

Please sign in to comment.