Sha256: 501934cb4dc0ca0b831802e473ac071eea4f277a33aa2ff093423a80a69e46ee
Contents?: true
Size: 384 Bytes
Versions: 1
Compression:
Stored size: 384 Bytes
Contents
require "shale" module Capsium class Package class ManifestConfigItem < Shale::Mapper attribute :file, Shale::Type::String attribute :mime, Shale::Type::String end class ManifestConfig < Shale::Mapper attribute :content, ManifestConfigItem, collection: true def sort! @content.sort_by!(&:file) self end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capsium-0.1.2 | lib/capsium/package/manifest_config.rb |