Sha256: e4d68ab6c04008e3b6296d12d020be9ad96c842da55fa49845d6452bbbebddc4
Contents?: true
Size: 433 Bytes
Versions: 7
Compression:
Stored size: 433 Bytes
Contents
class FileModel::Version def initialize main, version_name @main, @version_name = main, version_name end def url name && build_url(name, version_name) end def file name && main.class.box[build_path(name, version_name)] end def process &block block.call original if original end protected attr_reader :main, :version_name delegate :original, :name, :build_path, :build_url, to: :main end
Version data entries
7 entries across 7 versions & 1 rubygems