Class: Module

### Home Classes Methods

### In Files

- lib/backports/1.8.7/method/name.rb
- lib/backports/1.8.7/module/module_exec.rb
- lib/backports/2.1.0/module/include.rb
- lib/backports/rails/module.rb

### Parent

Object

### Methods

- #alias_method_chain
- #instance_method_with_additional_info
- #module_exec

### Class/Module Index

Quicksearch

- Prime
- Prime::EratosthenesGenerator
- Prime::EratosthenesSieve
- Prime::Generator23
- Prime::OldCompatibility
- Prime::PseudoPrimeGenerator
- Prime::TrialDivision
- Prime::TrialDivisionGenerator
- Backports
- Backports::MOST_EXTREME_OBJECT_EVER
- Backports::Random
- Backports::Random::Implementation
- Backports::Random::MT19937
- Backports::StdLib
- Backports::StdLib::LoadedFeatures
- Enumerator
- Enumerator::GeneratorBP
- Enumerator::Lazy
- Enumerator::Yielder
- Matrix
- Matrix::EigenvalueDecomposition
- Matrix::LUPDecomposition
- Enumerable
- Enumerable::Enumerator
- File
- File::Constants
- ARGF
- Array
- BasicObject
- Bignum
- Binding
- Complex
- Dir
- ENV
- Fixnum
- Float
- GC
- Hash
- IO
- Integer
- Kernel
- Math
- Method
- Module
- NilClass
- Numeric
- Object
- ObjectSpace
- OpenStruct
- Proc
- Process
- Random
- Range
- Regexp
- Set
- StopIteration
- String
- Struct
- Symbol
- UnboundMethod

No matching classes.

# Module

### Public Instance Methods

alias_method_chain(target, feature, &block) click to toggle source

Standard in rails... See official documentation

    # File lib/backports/rails/module.rb, line 3
    def alias_method_chain(target, feature, &block)
      Backports.alias_method_chain(self, target, feature, &block)
    end

instance_method_with_additional_info(name) click to toggle source

    # File lib/backports/1.8.7/method/name.rb, line 41
    def instance_method_with_additional_info(name)
      unbound = instance_method_without_additional_info(name)
      unbound.name = name.to_s
      unbound.owner = ancestors.find{|mod| mod.instance_methods(false).include? unbound.name}
      unbound
    end

module_exec(*arg, &block) click to toggle source

    # File lib/backports/1.8.7/module/module_exec.rb, line 6
    def module_exec(*arg, &block)
      instance_exec(*arg, &block)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.