Class: ROM::Header::Attribute

Inherits:
Object
  • Object
show all
Defined in:
core/lib/rom/header/attribute.rb

Overview

An attribute provides information about a specific attribute in a tuple

This may include information about how an attribute should be renamed, or how its value should coerced.

More complex attributes describe how an attribute should be transformed.

Direct Known Subclasses

Embedded

Instance Method Summary collapse

Instance Method Details

#union?Boolean

Returns:

  • (Boolean)


99
100
101
# File 'core/lib/rom/header/attribute.rb', line 99

def union?
  key.is_a? ::Array
end