Class: Workarea::Content::Fields::Options

Inherits:
Workarea::Content::Field show all
Defined in:
app/models/workarea/content/fields/options.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, #typecast

Constructor Details

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

Instance Method Details

#valuesObject



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

def values
  Array(options[:values])
end