# File lib/cimi/model/schema.rb, line 50 def initialize(name, opts) @text = opts[:text] if ! [nil, :nested, :direct].include?(@text) raise "text option for scalar must be :nested or :direct" end super(name, opts) end