Parent

Files

Module

Public Instance Methods

clr_type?() click to toggle source

indicates whether this type has a CLR type in its ancestors

    # File lib/caricature/core_ext/module.rb, line 9
 9:   def clr_type?
10:     !self.to_clr_type.nil? ||
11:             self.included_modules.any? {|mod| !mod.to_clr_type.nil? } ||
12:             self.ancestors.any? { |mod| !mod.to_clr_type.nil? }
13:   end
demodulize() click to toggle source

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

   # File lib/caricature/core_ext/module.rb, line 4
4:   def demodulize
5:     self.to_s.gsub(/^.*::/, '')
6:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.