Class: Terrazzo::Field::Boolean

Inherits:
Base
  • Object
show all
Defined in:
lib/terrazzo/field/boolean.rb

Constant Summary

Constants inherited from Base

Terrazzo::Field::Base::ABSTRACT_FIELD_CLASSES

Instance Attribute Summary

Attributes inherited from Base

#attribute, #data, #options, #page, #resource

Instance Method Summary collapse

Methods inherited from Base

associative?, default_options, eager_load?, #field_type, field_type, #form_input_attributes, #initialize, permitted_attribute, #required?, searchable?, #serializable_options, sortable?, transform_param, with_options

Constructor Details

This class inherits a constructor from Terrazzo::Field::Base

Instance Method Details

#serialize_value(_mode) ⇒ Object



4
5
6
# File 'lib/terrazzo/field/boolean.rb', line 4

def serialize_value(_mode)
  data
end