Module: Lorj::ObjectDataRubySpec::Public

Included in:
Lorj::ObjectData
Defined in:
lib/core/compat/core_object_data.rb,
lib/core/compat/1.8/core_object_data.rb

Overview

Public functions

Instance Method Summary collapse

Instance Method Details

#[]=(*prop) ⇒ Object

Functions used to set simple data/Object for controller/process function call. TODO: to revisit this function, as we may consider simple data, as Lorj::Data object



27
28
29
30
# File 'lib/core/compat/core_object_data.rb', line 27

def []=(*key, value)
  return nil if [:object, :query].include?(key[0])
  @params.rh_set(value, key)
end