Sha256: fc176499d58c886567cf1a57bf1b516ae29dcd3c9d8aa67db5c84375199b07dc

Contents?: true

Size: 532 Bytes

Versions: 14

Compression:

Stored size: 532 Bytes

Contents

module Expressir
  module Model
    class InterfacedItem < ModelElement
      model_attr_accessor :id
      model_attr_accessor :remarks
      model_attr_accessor :remark_items

      model_attr_accessor :base_item

      def initialize(options = {})
        @id = options[:id]
        @remarks = options[:remarks] || []
        @remark_items = options[:remark_items] || []

        @base_item = options[:base_item]

        super
      end

      def children
        [
          *remark_items
        ]
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
expressir-1.0.0 lib/expressir/model/interfaced_item.rb
expressir-1.0.0-x86_64-linux lib/expressir/model/interfaced_item.rb
expressir-1.0.0-x86_64-darwin lib/expressir/model/interfaced_item.rb
expressir-1.0.0-x86-mingw32 lib/expressir/model/interfaced_item.rb
expressir-1.0.0-x86-linux lib/expressir/model/interfaced_item.rb
expressir-1.0.0-x64-mingw32 lib/expressir/model/interfaced_item.rb
expressir-1.0.0-arm64-darwin lib/expressir/model/interfaced_item.rb
expressir-0.2.27 lib/expressir/model/interfaced_item.rb
expressir-0.2.27-x86_64-linux lib/expressir/model/interfaced_item.rb
expressir-0.2.27-x86_64-darwin lib/expressir/model/interfaced_item.rb
expressir-0.2.27-x86-mingw32 lib/expressir/model/interfaced_item.rb
expressir-0.2.27-x86-linux lib/expressir/model/interfaced_item.rb
expressir-0.2.27-x64-mingw32 lib/expressir/model/interfaced_item.rb
expressir-0.2.27-arm64-darwin lib/expressir/model/interfaced_item.rb