Class: GsNMethodWrapper

Inherits:
UnboundMethod show all
Defined in:
lib/maglev/reflection/core_ext/method.rb

Instance Method Summary collapse

Methods inherited from UnboundMethod

#__st_gsmeth

Constructor Details

#initialize(gsmethod) ⇒ GsNMethodWrapper

Returns a new instance of GsNMethodWrapper.



32
# File 'lib/maglev/reflection/core_ext/method.rb', line 32

def initialize(gsmethod); @_st_gsmeth = gsmethod; end

Instance Method Details

#inspectObject



33
# File 'lib/maglev/reflection/core_ext/method.rb', line 33

def inspect; "#<GsNMethodWrapper: #{self.name}>"; end

#nameObject



34
# File 'lib/maglev/reflection/core_ext/method.rb', line 34

def name; @_st_gsmeth.__name; end