class OnappMarket::API::Query::NilOperator

Nil operator

Public Class Methods

new() click to toggle source
# File lib/onapp_market/api/query/operators.rb, line 23
def initialize
  super([])
end

Public Instance Methods

flatten() click to toggle source

Flatten yields nothing

# File lib/onapp_market/api/query/operators.rb, line 29
def flatten
end
to_hash() click to toggle source

Convert to hash

Returns

Hash

# File lib/onapp_market/api/query/operators.rb, line 42
def to_hash
  {"type" => "NilOperator", "leaves" => []  }
end
to_s() click to toggle source

Returns the textual operator name

# File lib/onapp_market/api/query/operators.rb, line 34
def to_s
  ''
end