module Lorj::ObjectDataRubySpec::Public

Public functions

Public functions

Public Instance Methods

[]=(*prop) click to toggle source

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

# File lib/core/compat/1.8/core_object_data.rb, line 27
def []=(*prop)
  key = prop.clone
  value = key.pop

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