class Realize::Collection::First
Transformer to get the first item of a collection
Public Instance Methods
transform(resolver, value, time, record)
click to toggle source
# File lib/realize/collection/first.rb, line 16 def transform(resolver, value, time, record) AtIndex.new(index: 0).transform(resolver, value, time, record) end