lib/virtus/attribute/embedded_value.rb in virtus-0.5.1 vs lib/virtus/attribute/embedded_value.rb in virtus-0.5.2
- old
+ new
@@ -42,10 +42,10 @@
#
# @param [Class] klass
#
# @return [Virtus::Attribute::EmbeddedValue]
#
- # @api public
+ # @api private
def self.determine_type(klass)
if klass <= Virtus || klass <= OpenStruct
FromOpenStruct
elsif klass <= Struct
FromStruct