class PIM::Authorization::PermissionContextBuilder

Attributes

data_model[R]

Public Class Methods

new(data_model) click to toggle source
# File pim.rb, line 7463
def initialize data_model
  @data_model = data_model
end

Public Instance Methods

build(&block) click to toggle source
# File pim.rb, line 7467
def build &block
  context = Hash.new { |h, k| h[k] = [] }
  self.instance_exec(context, &block)
  context
end