Class/Module Index [+]

Quicksearch

Spec::Example::SharedExampleGroup::ClassMethods

Public Instance Methods

clear() click to toggle source
# File lib/spec/example/shared_example_group.rb, line 15
def clear
  shared_example_groups.clear
end
count() click to toggle source
# File lib/spec/example/shared_example_group.rb, line 23
def count
  shared_example_groups.length
end
find(example_group_description) click to toggle source
# File lib/spec/example/shared_example_group.rb, line 11
def find(example_group_description)
  shared_example_groups.find {|b| b.description == example_group_description}
end
include?(group) click to toggle source
# File lib/spec/example/shared_example_group.rb, line 19
def include?(group)
  shared_example_groups.include?(group)
end
register(*args, &block) click to toggle source
# File lib/spec/example/shared_example_group.rb, line 5
def register(*args, &block)
  new_example_group = new(*args, &block)
  shared_example_groups << new_example_group unless already_registered?(new_example_group)
  new_example_group
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.