class NeuronCheckSystem::SelfMatcher

selfであるかどうかを判定 (通常はreturns用)

Public Class Methods

new(declared_caller_locations) click to toggle source
# File lib/neuroncheck/matcher.rb, line 198
def initialize(declared_caller_locations)
  @declared_caller_locations = declared_caller_locations
end

Public Instance Methods

expected_caption() click to toggle source
# File lib/neuroncheck/matcher.rb, line 206
def expected_caption
  "self"
end
expected_short_caption() click to toggle source
# File lib/neuroncheck/matcher.rb, line 209
def expected_short_caption
  "self"
end
match?(value, self_object) click to toggle source
# File lib/neuroncheck/matcher.rb, line 202
def match?(value, self_object)
  self_object.equal?(value)
end