Sha256: e930e45eee9c336de8bbd3d74305d5e28d26daeabce606fc4d977da697c85539

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

class UState::Query
  class NotEquals < Node
    def initialize(field, value)
      @field = field
      @value = value
    end

    def ===(state)
      state.send(@field) != @value
    end

    def inspect
      inspect_helper @field, @value
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ustate-client-0.0.7 lib/ustate/query/not_equals.rb