Class: Workarea::Content::Fields::HiddenBreakpoints

Inherits:
Workarea::Content::Field show all
Defined in:
app/models/workarea/content/fields/breakpoints.rb

Instance Attribute Summary

Attributes inherited from Workarea::Content::Field

#name, #options

Instance Method Summary collapse

Methods inherited from Workarea::Content::Field

#default, #initialize, #note, #partial, #required?, #slug, #tooltip, #type

Constructor Details

This class inherits a constructor from Workarea::Content::Field

Instance Method Details

#typecast(value) ⇒ Object



5
6
7
# File 'app/models/workarea/content/fields/breakpoints.rb', line 5

def typecast(value)
  Array(value)
end