Sha256: 7b798fa030cd64cd5ac6be6912a8de2bda70e6ea80f4080e497cf78064c8d6e4
Contents?: true
Size: 591 Bytes
Versions: 14
Compression:
Stored size: 591 Bytes
Contents
# frozen_string_literal: true module Expressir module Liquid module Declarations class InterfaceDrop < ::Expressir::Liquid::DeclarationDrop def initialize(model) @model = model super end def kind @model.kind end def schema drop_klass_by_model(@model.schema) end def items return [] unless @model.items @model.items.map do |item| ::Expressir::Liquid::Declarations::InterfaceItemDrop.new(item) end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems