Module: Bigamy::Mongo::InstanceMethods

Defined in:
lib/bigamy.rb

Instance Method Summary collapse

Instance Method Details

#export_id_val(i) ⇒ Object



69
70
71
# File 'lib/bigamy.rb', line 69

def export_id_val i
  i.to_s
end

#import_id_val(i) ⇒ Object



73
74
75
# File 'lib/bigamy.rb', line 73

def import_id_val i
  i
end

#read_val(c) ⇒ Object



65
66
67
# File 'lib/bigamy.rb', line 65

def read_val c
  read_key c
end

#set_value(c, val) ⇒ Object



61
62
63
# File 'lib/bigamy.rb', line 61

def set_value c, val
  write_key c, val
end