Class: IronAdmin::Adapters::Base::ColumnDescriptor

Inherits:
Struct
  • Object
show all
Defined in:
lib/iron_admin/adapters/base.rb

Overview

Shared column descriptor for non-AR adapters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



333
334
335
# File 'lib/iron_admin/adapters/base.rb', line 333

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



333
334
335
# File 'lib/iron_admin/adapters/base.rb', line 333

def type
  @type
end

Instance Method Details

#to_sObject



334
335
336
# File 'lib/iron_admin/adapters/base.rb', line 334

def to_s
  name
end