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) end end end end class Object include RSpec::Core::ObjectExtensions end