class SDL::Attribute

An attribute of a {Model}

Attributes

type[R]

The type of field @return [Symbol]

Public Class Methods

new(name, type, **options) click to toggle source

@api private

Calls superclass method
# File lib/sdl/attribute.rb, line 13
def initialize(name, type, **options)
  super(name, **options)
  @type = type
end

Public Instance Methods

column_name() click to toggle source

The name of the column @return [Name]

# File lib/sdl/attribute.rb, line 20
def column_name
  name
end