examples/embeds_many/with_array.rb in transcriber-0.0.15 vs examples/embeds_many/with_array.rb in transcriber-0.0.16
- old
+ new
@@ -1,10 +1,10 @@
require 'json'
$:.push 'lib'; require 'transcriber'
class Root < Transcriber::Resource
- embeds_many :items, class_name: "Array"
+ embeds_many :items, class_name: :array
end
@root = Root.new
@root.items = ["a", "b"]