Module: PigeonHole

Defined in:
lib/pigeon_hole.rb,
lib/pigeon_hole/json_date.rb,
lib/pigeon_hole/json_time.rb,
lib/pigeon_hole/typed_json.rb,
lib/pigeon_hole/json_symbol.rb,
lib/pigeon_hole/json_date_time.rb,
lib/pigeon_hole/monster-vim-2016-07-25-16-44-47.rb,
lib/pigeon_hole/monster-vim-2016-07-25-16-44-58.rb,
lib/pigeon_hole/monster-vim-2016-07-25-16-47-08.rb,
lib/pigeon_hole/monster-vim-2016-07-25-16-47-09.rb,
lib/pigeon_hole/monster-vim-2016-07-25-16-47-10.rb,
lib/pigeon_hole/monster-vim-2016-07-25-16-47-36.rb,
lib/pigeon_hole/monster-vim-2016-07-25-16-47-37.rb,
lib/pigeon_hole/monster-vim-2016-07-25-16-47-38.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-09-11.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-09-41.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-09-42.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-11-26.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-15-33.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-15-57.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-16-04.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-16-05.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-17-22.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-17-23.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-19-14.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-20-50.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-20-52.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-20-53.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-26-57.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-26-58.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-27-59.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-33-40.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-33-41.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-33-42.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-33-53.rb,
lib/pigeon_hole/monster-vim-2016-07-26-10-39-14.rb

Defined Under Namespace

Classes: JSONDate, JSONDateTime, JSONSymbol, JSONTime, TypedJSON

Class Method Summary collapse

Class Method Details

.generate(obj, *args) ⇒ Object



8
9
10
# File 'lib/pigeon_hole.rb', line 8

def self.generate(obj, *args)
  TypedJSON.generate(obj, *args)
end

.load(string) ⇒ Object



16
17
18
# File 'lib/pigeon_hole.rb', line 16

def self.load(string)
  JSON.load(string)
end

.parse(string) ⇒ Object



12
13
14
# File 'lib/pigeon_hole.rb', line 12

def self.parse(string)
  load(string)
end