method

define_singleton_method

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: SOAP::Mapping
define_singleton_method(obj, name, &block) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/soap/mapping/mapping.rb, line 267
  def self.define_singleton_method(obj, name, &block)
    sclass = (class << obj; self; end)
    sclass.class_eval {
      define_method(name, &block)
    }
  end
Register or log in to add new notes.