module Pervasives
Constants
- Methods
- VERSION
Public Class Methods
call(o, m, *a, &b)
click to toggle source
# File lib/pervasives-1.1.0.rb, line 13 def self.call o, m, *a, &b list = case o when Class then [Class, Module, Object] when Module then [Module, Object] when Object then [Object] end type = list.detect{|type| Methods[type]["#{ m }"]} m = Methods[type]["#{ m }"] ( m ).bind( o ).call( *a, &b ) end
new(*a, &b)
click to toggle source
# File lib/pervasives-1.1.0.rb, line 43 def self.new *a, &b Proxy.new *a, &b end
version()
click to toggle source
# File lib/pervasives-1.1.0.rb, line 3 def self.version() VERSION end