class Guard::Watcher::Pattern::MatchResult

def [](index)

def [](index)
  return @match_result[index] if index.is_a?(Symbol)
  return @original_value if index.zero?
  @match_result.to_a[index]
end

def initialize(match_result, original_value)

def initialize(match_result, original_value)
  @match_result = match_result
  @original_value = original_value
end