class Transpec::Syntax::Allow
Public Instance Methods
any_instance?()
click to toggle source
# File lib/transpec/syntax/allow.rb, line 19 def any_instance? method_name == :allow_any_instance_of end
dynamic_analysis_target?()
click to toggle source
Calls superclass method
Transpec::Syntax::Mixin::ExpectBase#dynamic_analysis_target?
# File lib/transpec/syntax/allow.rb, line 11 def dynamic_analysis_target? super && [:allow, :allow_any_instance_of].include?(method_name) end
method_name_for_instance()
click to toggle source
# File lib/transpec/syntax/allow.rb, line 15 def method_name_for_instance :allow end