Class: Clevic::FieldValuer::Valuer
- Includes:
- Clevic::FieldValuer
- Defined in:
- lib/clevic/field_valuer.rb
Instance Attribute Summary collapse
-
#entity ⇒ Object
Returns the value of attribute entity.
-
#field ⇒ Object
Returns the value of attribute field.
Instance Method Summary collapse
-
#initialize(field, entity) ⇒ Valuer
constructor
A new instance of Valuer.
Methods included from Clevic::FieldValuer
#attribute_value, #attribute_value=, #display_value, #edit_value, #edit_value=, #find_related, #raw_value, #text_value=, #tooltip, valuer, #valuer, #writer
Constructor Details
#initialize(field, entity) ⇒ Valuer
Returns a new instance of Valuer.
159 160 161 |
# File 'lib/clevic/field_valuer.rb', line 159 def initialize( field, entity ) @field, @entity = field, entity end |