Method: LHS::Collection::HandleNested::ClassMethods#access

Defined in:
lib/lhs/concerns/collection/handle_nested.rb

#access(input:, record: nil) ⇒ Object

Access potentially nested collection of items



19
20
21
# File 'lib/lhs/concerns/collection/handle_nested.rb', line 19

def access(input:, record: nil)
  input.dig(*items_key(record))
end