Class: Padrino::Admin::Generators::Orm::Column

Inherits:
Struct
  • Object
show all
Defined in:
padrino-admin/lib/padrino-admin/generators/orm.rb

Overview

for compatibility

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name



47
48
49
# File 'padrino-admin/lib/padrino-admin/generators/orm.rb', line 47

def name
  @name
end

#typeObject

Returns the value of attribute type



47
48
49
# File 'padrino-admin/lib/padrino-admin/generators/orm.rb', line 47

def type
  @type
end