Sha256: 9bb3fb1ff590d3f28f854a048523bb713e7210ff82645bf1123c39daadaefa37
Contents?: true
Size: 259 Bytes
Versions: 1
Compression:
Stored size: 259 Bytes
Contents
require "bindless" test_proc= Proc.new{ self.hello_world } class Test def self.hello_world puts "hello world!" end def self.test_call proc_obj proc_obj.call_with_binding(self.binding?) end end Test.test_call test_proc #> "hello world!"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bindless-1.0.1 | examples/simple_use_case.rb |