Sha256: 1b8ed86f1035433bb2b17b8f3313ed0b295e2ffc1312bfee8e1a99c84819b6a4

Contents?: true

Size: 197 Bytes

Versions: 5

Compression:

Stored size: 197 Bytes

Contents

module Representable::Represent
  def represent(represented, array_class=Array)
    return for_collection.prepare(represented) if represented.is_a?(array_class)

    prepare(represented)
  end
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/representable-3.2.0/lib/representable/represent.rb
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/representable-3.2.0/lib/representable/represent.rb
representable-3.2.0 lib/representable/represent.rb
representable-3.1.1 lib/representable/represent.rb
representable-3.1.0 lib/representable/represent.rb