method

build_description_from

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Example::ExampleGroupMethods
build_description_from(*args) public

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 8
        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.