```ruby
class ConditionIsfoil < ConditionSimple
  def match?(card)
    ["foilonly", "both"].include?(card.foiling)
  end

  def to_s
    "is:foil"
  end
end
```

Fix error in is:foil condition
user
```ruby
class ConditionIsFoil < ConditionSimple
  def match?(card)
    ["foilonly", "both"].include?(card.foiling)
  end

  def to_s
    "is:foil"
  end
end
```
assistant