Flowdock
method

build_description_from

Importance_0
1.2.0 - Show latest stable - 0 notes - Class: Spec::Example::ExampleGroupMethods
build_description_from(*args) private

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/example/example_group_methods.rb, line 274
      def build_description_from(*args)
        text = args.inject("") do |description, arg|
          description << " " unless (description == "" || arg.to_s =~ /^(\s|\.|#)/)
          description << arg.to_s
        end
        text == "" ? nil : text
      end
Register or log in to add new notes.