Parent

Module

Public Instance Methods

demodulize() click to toggle source

Removes all but the containing modules from this module’s name

# File lib/core_ext/module.rb, line 4
  def demodulize
    self.to_s.gsub(/^.*::/, '')
  end
is_clr_type?() click to toggle source

indicates whether this type has a CLR type in its ancestors

# File lib/core_ext/module.rb, line 9
  def is_clr_type?
    !self.to_clr_type.nil? ||
            self.included_modules.any? {|mod| !mod.to_clr_type.nil? } ||
            self.ancestors.any? { |mod| !mod.to_clr_type.nil? }
  end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.