Sha256: 5d7dae777e9e913e5e8f986d0ae262c2fd5e27d124b108d5b2368e5bb14370fc

Contents?: true

Size: 457 Bytes

Versions: 3

Compression:

Stored size: 457 Bytes

Contents

# frozen_string_literal: true

require 'structurizr/metal'
require 'structurizr/model'
require 'structurizr/enterprise'

module Structurizr
  Workspace = Metal::Root::Workspace

  class Workspace
    def to_json(*_args)
      Metal::Util::WorkspaceUtils.to_json(self, true)
    end

    def self.from_json(json)
      Metal::Util::WorkspaceUtils.from_json(json)
    end

    def inspect
      %(#<Structurizr::Workspace(#{name.inspect})>)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
structurizr-1.29.0-java lib/structurizr/workspace.rb
structurizr-1.26.1-java lib/structurizr/workspace.rb
structurizr-1.0.0.rc.2 lib/structurizr/workspace.rb