Class: NoBrainer::Document::AtomicOps::PendingAtomicUnset

Inherits:
PendingAtomic
  • Object
show all
Defined in:
lib/no_brainer/document/atomic_ops.rb

Instance Attribute Summary

Attributes inherited from PendingAtomic

#type

Instance Method Summary collapse

Methods inherited from PendingAtomic

_new, #default_value, #initialize, #initialize_copy, #inspect, #method_missing, #modify_source!

Constructor Details

This class inherits a constructor from NoBrainer::Document::AtomicOps::PendingAtomic

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class NoBrainer::Document::AtomicOps::PendingAtomic

Instance Method Details

#compile_rql_value(rql_doc) ⇒ Object



141
142
143
# File 'lib/no_brainer/document/atomic_ops.rb', line 141

def compile_rql_value(rql_doc)
  RethinkDB::RQL.new.literal()
end

#to_sObject



135
136
137
# File 'lib/no_brainer/document/atomic_ops.rb', line 135

def to_s
  "<unset `#{@field}'>"
end