class ROM::DynamoDB::Dataset::WhereClause::Operand

Attributes

key[R]
operand[R]
val[R]

Public Class Methods

new(key:, val:) click to toggle source
# File lib/rom/dynamodb/dataset/where_clause.rb, line 64
def initialize(key:, val:)
  @key = key
  @val = val
end

Public Instance Methods

<=>(op) click to toggle source
# File lib/rom/dynamodb/dataset/where_clause.rb, line 77
def <=>(op)
  val <=> op.val
end