Class: CGenerator::SingletonMethod

Inherits:
RubyFunction show all
Defined in:
lib/cgen/cgen.rb

Direct Known Subclasses

CShadow::AttrClassMethod

Instance Attribute Summary

Attributes inherited from Accumulator

#name, #parent

Instance Method Summary collapse

Methods inherited from RubyFunction

#arguments, #c_array_args, #initialize, #prototype, #rb_array_args

Methods inherited from Function

#arguments, #empty?, #initialize, #prototype, #return_type, #scope

Methods inherited from Template

accumulator, #initialize

Methods inherited from Accumulator

#accept?, #add, #add_one, #add_one_really, #initialize, #inspect, #inspect_one, #output, #output_one, #separator, #to_s

Constructor Details

This class inherits a constructor from CGenerator::RubyFunction

Instance Method Details

#register_args(*args) ⇒ Object



1961
1962
1963
# File 'lib/cgen/cgen.rb', line 1961

def register_args(*args)
  rb_define_singleton_method(*args)
end