lib/alba/nested_attribute.rb in alba-2.3.0 vs lib/alba/nested_attribute.rb in alba-2.4.0
- old
+ new
@@ -1,6 +1,7 @@
module Alba
# Representing nested attribute
+ # @api private
class NestedAttribute
# @param key_transformation [Symbol] determines how to transform keys
# @param block [Proc] class body
def initialize(key_transformation: :none, &block)
@key_transformation = key_transformation