PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Module
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: constants - !ruby/object:RI::MethodSummary name: nesting - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A <tt>Module</tt> is a collection of methods and constants. The methods in a module may be instance methods or module methods. Instance methods appear as methods in a class when the module is included, module methods do not. Conversely, module methods may be called without creating an encapsulating object, while instance methods may not. (See <tt>Module#module_function</tt>) - !ruby/struct:SM::Flow::P body: In the descriptions that follow, the parameter <em>syml</em> refers to a symbol, which is either a quoted string or a <tt>Symbol</tt> (such as <tt>:name</tt>). - !ruby/struct:SM::Flow::VERB body: " module Mod\n include Math\n CONST = 1\n def meth\n # ...\n end\n end\n Mod.class #=> Module\n Mod.constants #=> ["E", "PI", "CONST"]\n Mod.instance_methods #=> ["meth"]\n" constants: [] full_name: Module includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: < - !ruby/object:RI::MethodSummary name: <= - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: ">" - !ruby/object:RI::MethodSummary name: ">=" - !ruby/object:RI::MethodSummary name: alias_method - !ruby/object:RI::MethodSummary name: ancestors - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: attr - !ruby/object:RI::MethodSummary name: attr_accessor - !ruby/object:RI::MethodSummary name: attr_reader - !ruby/object:RI::MethodSummary name: attr_writer - !ruby/object:RI::MethodSummary name: autoload - !ruby/object:RI::MethodSummary name: autoload? - !ruby/object:RI::MethodSummary name: class_eval - !ruby/object:RI::MethodSummary name: class_exec - !ruby/object:RI::MethodSummary name: class_variable_defined? - !ruby/object:RI::MethodSummary name: class_variable_get - !ruby/object:RI::MethodSummary name: class_variable_set - !ruby/object:RI::MethodSummary name: class_variables - !ruby/object:RI::MethodSummary name: const_defined? - !ruby/object:RI::MethodSummary name: const_get - !ruby/object:RI::MethodSummary name: const_missing - !ruby/object:RI::MethodSummary name: const_set - !ruby/object:RI::MethodSummary name: constants - !ruby/object:RI::MethodSummary name: define_method - !ruby/object:RI::MethodSummary name: extend_object - !ruby/object:RI::MethodSummary name: extended - !ruby/object:RI::MethodSummary name: freeze - !ruby/object:RI::MethodSummary name: include - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: included - !ruby/object:RI::MethodSummary name: included_modules - !ruby/object:RI::MethodSummary name: instance_method - !ruby/object:RI::MethodSummary name: instance_methods - !ruby/object:RI::MethodSummary name: method_added - !ruby/object:RI::MethodSummary name: method_defined? - !ruby/object:RI::MethodSummary name: method_removed - !ruby/object:RI::MethodSummary name: method_undefined - !ruby/object:RI::MethodSummary name: module_eval - !ruby/object:RI::MethodSummary name: module_exec - !ruby/object:RI::MethodSummary name: module_function - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: private - !ruby/object:RI::MethodSummary name: private_class_method - !ruby/object:RI::MethodSummary name: private_instance_methods - !ruby/object:RI::MethodSummary name: private_method_defined? - !ruby/object:RI::MethodSummary name: protected - !ruby/object:RI::MethodSummary name: protected_instance_methods - !ruby/object:RI::MethodSummary name: protected_method_defined? - !ruby/object:RI::MethodSummary name: public - !ruby/object:RI::MethodSummary name: public_class_method - !ruby/object:RI::MethodSummary name: public_instance_methods - !ruby/object:RI::MethodSummary name: public_method_defined? - !ruby/object:RI::MethodSummary name: remove_class_variable - !ruby/object:RI::MethodSummary name: remove_const - !ruby/object:RI::MethodSummary name: remove_method - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: undef_method name: Module superclass:
[-] method_removed-i.yaml
[edit]
[-] class_variable_defined%3f-i.yaml
[edit]
[-] %3c%3d%3e-i.yaml
[edit]
[-] undef_method-i.yaml
[edit]
[-] autoload-i.yaml
[edit]
[-] included-i.yaml
[edit]
[-] instance_methods-i.yaml
[edit]
[-] private_class_method-i.yaml
[edit]
[-] attr_accessor-i.yaml
[edit]
[-] private_instance_methods-i.yaml
[edit]
[-] autoload%3f-i.yaml
[edit]
[-] define_method-i.yaml
[edit]
[-] constants-i.yaml
[edit]
[-] protected-i.yaml
[edit]
[-] class_variables-i.yaml
[edit]
[-] class_eval-i.yaml
[edit]
[-] protected_instance_methods-i.yaml
[edit]
[-] include-i.yaml
[edit]
[-] name-i.yaml
[edit]
[-] method_added-i.yaml
[edit]
[-] module_eval-i.yaml
[edit]
[-] ancestors-i.yaml
[edit]
[-] method_undefined-i.yaml
[edit]
[-] const_set-i.yaml
[edit]
[-] const_missing-i.yaml
[edit]
[-] method_defined%3f-i.yaml
[edit]
[-] class_exec-i.yaml
[edit]
[-] %3d%3d%3d-i.yaml
[edit]
[-] attr-i.yaml
[edit]
[-] %3c-i.yaml
[edit]
[-] attr_reader-i.yaml
[edit]
[-] extend_object-i.yaml
[edit]
[-] alias_method-i.yaml
[edit]
[-] class_variable_set-i.yaml
[edit]
[-] private-i.yaml
[edit]
[-] include%3f-i.yaml
[edit]
[-] module_function-i.yaml
[edit]
[-] public-i.yaml
[edit]
[-] %3e-i.yaml
[edit]
[-] const_get-i.yaml
[edit]
[-] private_method_defined%3f-i.yaml
[edit]
[-] attr_writer-i.yaml
[edit]
[-] cdesc-Module.yaml
[edit]
[-] %3c%3d-i.yaml
[edit]
[-] public_class_method-i.yaml
[edit]
[-] append_features-i.yaml
[edit]
[-] %3d%3d-i.yaml
[edit]
[-] constants-c.yaml
[edit]
[-] extended-i.yaml
[edit]
[-] protected_method_defined%3f-i.yaml
[edit]
[+]
..
[-] remove_class_variable-i.yaml
[edit]
[-] module_exec-i.yaml
[edit]
[-] public_instance_methods-i.yaml
[edit]
[-] included_modules-i.yaml
[edit]
[-] %3e%3d-i.yaml
[edit]
[-] new-c.yaml
[edit]
[-] instance_method-i.yaml
[edit]
[-] remove_const-i.yaml
[edit]
[-] class_variable_get-i.yaml
[edit]
[-] remove_method-i.yaml
[edit]
[-] const_defined%3f-i.yaml
[edit]
[-] nesting-c.yaml
[edit]
[-] public_method_defined%3f-i.yaml
[edit]
[-] freeze-i.yaml
[edit]
[-] to_s-i.yaml
[edit]