Sha256: c6f4895f1b9466a5263e9d5647efb9132cfdf0044bf104833d4ed8c4c4add477

Contents?: true

Size: 182 Bytes

Versions: 2

Compression:

Stored size: 182 Bytes

Contents

module Workarea
  class Content
    module Fields
      class Playlist < Field
        def typecast(value)
          Array(value).map(&:to_s)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-youtube_playlists-0.1.2 app/models/workarea/content/fields/playlist.rb
workarea-youtube_playlists-0.1.1 app/models/workarea/content/fields/playlist.rb