Sha256: d29556f56a340b7f487415e7a0f2495a9b6bfb4e4fcfc7f24fcaae0d004d67fe
Contents?: true
Size: 591 Bytes
Versions: 46
Compression:
Stored size: 591 Bytes
Contents
# frozen_string_literal: true require "lutaml/uml/node/base" require "lutaml/uml/node/has_name" require "lutaml/uml/node/has_type" module Lutaml module Uml module Node class Field < Base include HasName include HasType def initialize(attributes = {}) @access = "public" super end attr_reader :static def static=(value) @static = !!value end attr_reader :access def access=(value) @access = value.to_s # TODO: Validate? end end end end end
Version data entries
46 entries across 46 versions & 2 rubygems