Sha256: 8a863e8635d261fd84a254a71de4cc5845c175af52cf3afcf11175e3f9b2ebbf

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

require 'nano/module/redirect_method'
class Module
  private
  alias_method :redirect, :redirect_method
end


#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
=begin test

  require 'test/unit'

  class TCModule < Test::Unit::TestCase

    def red1 ; 1 ; end

    redirect :red2 => :red1

    def test_redirect
      assert_equal( 1, red2 )
    end

  end

=end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-0.9.0 lib/nano/module/redirect.rb