method
description_text
1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Example::ExampleGroupMethods
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
description_text(*args)
public
Hide source
# File lib/spec/example/example_group_methods.rb, line 6 def description_text(*args) args.inject("") do |result, arg| result << " " unless (result == "" || arg.to_s =~ /^(\s|\.|#)/) result << arg.to_s end end