class Lono::AppFile::Registry

Public Class Methods

layers() click to toggle source
# File lib/lono/app_file/registry.rb, line 11
def layers
  @@items.select { |i| i.type == "lambda_layer" }
end
register(name, blueprint, options={}) click to toggle source
# File lib/lono/app_file/registry.rb, line 7
def register(name, blueprint, options={})
  @@items << Item.new(name, blueprint, options) unless @@items.detect { |i| i.name == name && i.type == options[:type] }
end