Class: Plugins::Core::Cell

Inherits:
Cortex::FieldCell
  • Object
show all
Defined in:
app/cells/plugins/core/cell.rb

Instance Method Summary collapse

Instance Method Details

#required?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'app/cells/plugins/core/cell.rb', line 6

def required?
  field.validations["presence"]
end