Flowdock
method

extended

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActiveSupport::Testing::Declarative
extended(klass) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/testing/declarative.rb, line 5
      def self.extended(klass) #:nodoc:
        klass.class_eval do

          unless method_defined?(:describe)
            def self.describe(text)
              class_eval                 def self.name                  "#{text}"                end, __FILE__, __LINE__ + 1
            end
          end

        end
      end
Register or log in to add new notes.