Repository URL to install this package:
|
Version:
2.2.2-1 ▾
|
U:RDoc::NormalClass[iI"Module:ET@I"Object;To:RDoc::Markup::Document:@parts[ o;;[ : @fileI"class.c;T:0@omit_headings_from_table_of_contents_below0o;;[ ; I"$ext/psych/lib/psych/core_ext.rb;T; 0o;;[ ; I"lib/rake/ext/core.rb;T; 0o;;[ o:RDoc::Markup::Paragraph;[I"IA <code>Module</code> is a collection of methods and constants. The ;TI"Dmethods in a module may be instance methods or module methods. ;TI"FInstance methods appear as methods in a class when the module is ;TI"Hincluded, module methods do not. Conversely, module methods may be ;TI"Ecalled without creating an encapsulating object, while instance ;TI"@methods may not. (See <code>Module#module_function</code>.);To:RDoc::Markup::BlankLine o;;[I"FIn the descriptions that follow, the parameter <i>sym</i> refers ;TI"7to a symbol, which is either a quoted string or a ;TI"6<code>Symbol</code> (such as <code>:name</code>).;T@o:RDoc::Markup::Verbatim;[I"module Mod ;TI" include Math ;TI" CONST = 1 ;TI" def meth ;TI" # ... ;TI" end ;TI" end ;TI"'Mod.class #=> Module ;TI"2Mod.constants #=> [:CONST, :PI, :E] ;TI"'Mod.instance_methods #=> [:meth];T:@format0; I" object.c;T; 0; 0; 0[ [ [ [[I" class;T[[:public[[I"constants;TI"eval.c;T[I"nesting;T@<[I"new;TI" object.c;T[:protected[ [:private[ [I" instance;T[[;[6[I"<;T@A[I"<=;T@A[I"<=>;T@A[I"==;T@A[I"===;T@A[I">;T@A[I">=;T@A[I"ancestors;T@A[I" autoload;TI"load.c;T[I"autoload?;T@][I"class_eval;TI"vm_eval.c;T[I"class_exec;T@b[I"class_variable_defined?;T@A[I"class_variable_get;T@A[I"class_variable_set;T@A[I"class_variables;T@A[I"const_defined?;T@A[I"const_get;T@A[I"const_missing;T@A[I"const_set;T@A[I"constants;T@A[I"freeze;T@A[I"include;T@<[I" include?;T@A[I"included_modules;T@A[I"inspect;T@A[I"instance_method;TI"proc.c;T[I"instance_methods;T@A[I"method_defined?;TI"vm_method.c;T[I"module_eval;T@b[I"module_exec;T@b[I" name;T@A[I"prepend;T@<[I"private_class_method;T@[I"private_constant;T@A[I"private_instance_methods;T@A[I"private_method_defined?;T@[I"protected_instance_methods;T@A[I"protected_method_defined?;T@[I"psych_yaml_as;FI"$ext/psych/lib/psych/core_ext.rb;T[I"public_class_method;T@[I"public_constant;T@A[I"public_instance_method;T@~[I"public_instance_methods;T@A[I"public_method_defined?;T@[I"remove_class_variable;T@A[I"singleton_class?;T@A[I" to_s;T@A[I"yaml_as;T@[;[ [;[[I"alias_method;T@[I"append_features;T@<[I" attr;T@A[I"attr_accessor;T@A[I"attr_reader;T@A[I"attr_writer;T@A[I"define_method;T@~[I"extend_object;T@<[I" extended;T@A[I" included;T@A[I"method_added;T@A[I"method_removed;T@A[I"method_undefined;T@A[I"module_function;T@[I"prepend_features;T@<[I"prepended;T@A[I"private;T@[I"protected;T@[I"public;T@[I"refine;T@<[I"remove_const;T@A[I"remove_method;T@[I"undef_method;T@[I" using;T@<[ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[@ I"eval.c;T@@I"load.c;T@0I"proc.c;TI"vm_eval.c;TI"vm_method.c;T@ìcRDoc::TopLevel