lib/journeyman/builder.rb
def merge_defaults(attributes={})
      attributes.tap do |attrs|
        attrs.merge!(static_defaults){ |key, user, default| user } # Reverse Merge
        dynamic_defaults.each { |key, value| attrs[key] ||= Journeyman.execute(value, attrs) }
      end
    end
def merge_defaults(attributes={})
      attributes.tap do |attrs|
        attrs.merge!(static_defaults){ |key, user, default| user } # Reverse Merge
        dynamic_defaults.each { |key, value| attrs[key] ||= Journeyman.execute(value, attrs) }
      end
    end
def merge_defaults ( attributes = { } ) attributes . tap do | attrs | attrs . merge! ( static_defaults ) { | key , user , default | user } # Reverse Merge dynamic_defaults . each { | key , value | attrs [ key ] ||= Journeyman . execute ( value , attrs ) } end end
Internal: Merges the default attributes to the specified attributes Hash.

 Returns the modified Hash.
Internal : Merges the default attributes to the specified attributes Hash .