Parent

Methods

Files

Class/Module Index [+]

Quicksearch

ConflictsGuard

Public Instance Methods

match?() click to toggle source
# File lib/mspec/guards/conflict.rb, line 4
def match?
  # Always convert constants to symbols regardless of version.
  constants = Object.constants.map { |x| x.to_sym }
  @args.any? { |mod| constants.include? mod }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.