Class: Typelizer::SerializerPlugins::Alba::BlockAttributeCollector::BlockNestedAttribute

Inherits:
Struct
  • Object
show all
Defined in:
lib/typelizer/serializer_plugins/alba/block_attribute_collector.rb

Overview

Struct to hold nested attribute info captured within a block

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



60
61
62
# File 'lib/typelizer/serializer_plugins/alba/block_attribute_collector.rb', line 60

def block
  @block
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



60
61
62
# File 'lib/typelizer/serializer_plugins/alba/block_attribute_collector.rb', line 60

def name
  @name
end