storable
storable copied to clipboard
Marshal Ruby classes into and out of multiple formats (yaml, json, csv, tsv)
## Description The test fails b/c there is no `Hash.call` defined. I'm pretty sure this test was always failing but I need to spend more time checking. If so then...
Hi, this gem doesn't work with Ruby 2.7 (on Linux): ``` 2.7.0 :001 > require 'storable' Traceback (most recent call last): 12: from /usr/share/rvm/rubies/ruby-2.7.0/bin/irb:23:in `' 11: from /usr/share/rvm/rubies/ruby-2.7.0/bin/irb:23:in `load' 10:...
Storing of Procs is not complete. Store Proc to file like this: ``` ruby class Foo < Storable; field my_proc: Proc; end def xxx 333 end File.open("stored.yaml", "w") {|f| f.write...
flame@yamato storable % try /media/repos/flame/ruby/storable/lib/storable.rb:325:in `to_json': stack level too deep (SystemStackError) from /media/repos/flame/ruby/storable/lib/storable.rb:325:in`to_json' from /media/repos/flame/ruby/storable/try/10_basic_usage_tryouts.rb:36:in `send' from /usr/lib64/ruby/gems/1.8/gems/tryouts-2.0.1.002/lib/tryouts.rb:200:in`eval' from /usr/lib64/ruby/gems/1.8/gems/tryouts-2.0.1.002/lib/tryouts.rb:291:in `run' from /usr/lib64/ruby/gems/1.8/gems/tryouts-2.0.1.002/lib/tryouts.rb:252:in`run' from /usr/lib64/ruby/gems/1.8/gems/tryouts-2.0.1.002/lib/tryouts.rb:252:in `select' from /usr/lib64/ruby/gems/1.8/gems/tryouts-2.0.1.002/lib/tryouts.rb:252:in`run' from /usr/lib64/ruby/gems/1.8/gems/tryouts-2.0.1.002/lib/tryouts.rb:107:in...