class ROM::Files::Extensions::Markup::AttributesInferrer

Public Instance Methods

columns() click to toggle source
Calls superclass method
# File lib/rom/files/extensions/markup/attributes_inferrer.rb, line 25
def columns
  super + [DATA]
end
infer_attributes(schema, gateway) click to toggle source
Calls superclass method
# File lib/rom/files/extensions/markup/attributes_inferrer.rb, line 10
def infer_attributes(schema, gateway)
  super + infer_markup_attributes(schema, gateway)
end
infer_markup_attributes(schema, _gateway) click to toggle source
# File lib/rom/files/extensions/markup/attributes_inferrer.rb, line 14
def infer_markup_attributes(schema, _gateway)
  [
    build(markup_type.meta(DATA: true), DATA, schema)
  ]
end
markup_type() click to toggle source

@return [Dry::Types::Definition]

# File lib/rom/files/extensions/markup/attributes_inferrer.rb, line 21
def markup_type
  raise NotImplementedError, "#{self.class}#markup_type is not implemented"
end