Sha256: 7ea6adb5188ed89eee36ceec09e39b21b46986b8f7ae86ae324dfae27c214b06

Contents?: true

Size: 355 Bytes

Versions: 9

Compression:

Stored size: 355 Bytes

Contents

class Gamefic::Query::NotExpression < Gamefic::Query::Expression
  def initialize
    super(
      /^(all|everything|every|anything|any|each|things|stuff)( (that|which) (is|are))? not$/
    )
  end
  def signature
    "#{self.class}"
  end
end

module Gamefic::Use
  def self.not_expression
    Gamefic::Query::NotExpression.new
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gamefic-sdk-1.6.0 scripts/standard/plural/queries/not_expression.plot.rb
gamefic-sdk-1.5.0 scripts/standard/plural/queries/not_expression.plot.rb
gamefic-sdk-1.4.1 scripts/standard/plural/queries/not_expression.plot.rb
gamefic-sdk-1.4.0 scripts/standard/plural/queries/not_expression.plot.rb
gamefic-sdk-1.3.1 scripts/standard/plural/queries/not_expression.plot.rb
gamefic-sdk-1.3.0 scripts/standard/plural/queries/not_expression.plot.rb
gamefic-sdk-1.2.0 scripts/standard/plural/queries/not_expression.plot.rb
gamefic-sdk-1.1.0 scripts/standard/plural/queries/not_expression.plot.rb
gamefic-sdk-1.0.1 scripts/standard/plural/queries/not_expression.plot.rb