module Disposable::Twin::Property::Hash::NestedDefaults
NestedDefaults
for properties nested in the top :hash column.
Public Class Methods
included(includer)
click to toggle source
# File lib/disposable/twin/property/hash.rb, line 30 def self.included(includer) includer.defaults do |name, options| if options[:_nested_builder] # DISCUSS: any other way to figure out we're nested? Hash.hash_options else { } end end end