Permalink
Browse files

Merge pull request #63 from LcLk/master

update for fabrication adapter with protected method klass
  • Loading branch information...
mathieujobin committed Aug 18, 2017
2 parents e876aa1 + 8bf208c commit b7a7ef1689bf5c61326e7875e68149ee27376bfa
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pickle/adapter.rb
@@ -153,7 +153,7 @@ def self.factories

def initialize(factory)
if defined? ::Fabrication
@klass, @name = factory[1].klass, factory[0].to_s
@klass, @name = factory[1].send(:klass), factory[0].to_s
end
end

0 comments on commit b7a7ef1

Please sign in to comment.