Methods

Class/Module Index [+]

Quicksearch

Spec::Runner::Formatter::NOOPMethodMissing

Public Instance Methods

respond_to?(message, include_private = false) click to toggle source
# File lib/spec/runner/formatter/no_op_method_missing.rb, line 5
def respond_to?(message, include_private = false)
  if include_private
    true
  else
    !private_methods.any? {|m| [message.to_s, message.to_sym].include?(m)}
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.