Sha256: 10b0a4763a4a7fdaece35b952a91076bfcfb621dd01f885749eb1d85f30954e5

Contents?: true

Size: 318 Bytes

Versions: 19

Compression:

Stored size: 318 Bytes

Contents

module RSpec
  module Core
    module ObjectExtensions
      def describe(*args, &example_group_block)
        args << {} unless args.last.is_a?(Hash)
        RSpec::Core::ExampleGroup.describe(*args, &example_group_block).register
      end
    end
  end
end

class Object
  include RSpec::Core::ObjectExtensions
end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
messagebus_ruby_api-0.4.7 spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/extensions/object.rb
messagebus_ruby_api-0.4.4 spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/extensions/object.rb
rspec-core-2.5.2 lib/rspec/core/extensions/object.rb
rspec-core-2.6.0.rc2 lib/rspec/core/extensions/object.rb
rspec-core-2.5.1 lib/rspec/core/extensions/object.rb
rspec-core-2.5.0 lib/rspec/core/extensions/object.rb
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions/object.rb
rspec-core-2.4.0 lib/rspec/core/extensions/object.rb
vim-jar-0.1.2 bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions/object.rb
vim-jar-0.1.1 bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions/object.rb
vim-jar-0.1.0 bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions/object.rb
rspec-core-2.3.1 lib/rspec/core/extensions/object.rb
rspec-core-2.3.0 lib/rspec/core/extensions/object.rb
vim-jar-0.0.3 bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions/object.rb
rspec-core-2.2.1 lib/rspec/core/extensions/object.rb
vim-jar-0.0.2 bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions/object.rb
vim-jar-0.0.1 bundler/ruby/1.8/gems/rspec-core-2.1.0/lib/rspec/core/extensions/object.rb
rspec-core-2.2.0 lib/rspec/core/extensions/object.rb
rspec-core-2.1.0 lib/rspec/core/extensions/object.rb