Sha256: 5f7f3a57e88d0d9d577d560a83d82f1199a467527b0aca2b394a558df8a2e9a7

Contents?: true

Size: 270 Bytes

Versions: 6

Compression:

Stored size: 270 Bytes

Contents

module RSpec
  module Core
    module ObjectExtensions
      def describe(*args, &example_group_block)
        RSpec::Core::ExampleGroup.describe(*args, &example_group_block).register
      end
    end
  end
end

class Object
  include RSpec::Core::ObjectExtensions
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rspec-core-2.6.3 lib/rspec/core/extensions/object.rb
rspec-core-2.6.3.beta1 lib/rspec/core/extensions/object.rb
rspec-core-2.6.2.rc lib/rspec/core/extensions/object.rb
rspec-core-2.6.0 lib/rspec/core/extensions/object.rb
rspec-core-2.6.0.rc6 lib/rspec/core/extensions/object.rb
rspec-core-2.6.0.rc4 lib/rspec/core/extensions/object.rb