From 8833341eee3ec3bb6eba8e26fed4a27692dbba96 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Fri, 29 Mar 2024 20:11:27 -0500 Subject: [PATCH] Starting BreaApps. --- repository/Brea/BreaApp.class.st | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 repository/Brea/BreaApp.class.st diff --git a/repository/Brea/BreaApp.class.st b/repository/Brea/BreaApp.class.st new file mode 100644 index 0000000..26515dd --- /dev/null +++ b/repository/Brea/BreaApp.class.st @@ -0,0 +1,39 @@ +Class { + #name : #BreaApp, + #superclass : #Object, + #instVars : [ + 'name', + 'folder' + ], + #category : #Brea +} + +{ #category : #accessing } +BreaApp >> folder [ + ^ folder +] + +{ #category : #accessing } +BreaApp >> folder: aFileDirectory [ + folder := aFileDirectory +] + +{ #category : #accessing } +BreaApp >> launch [ + ^ MiniDocsServer singleton +] + +{ #category : #accessing } +BreaApp >> name [ + ^ name +] + +{ #category : #accessing } +BreaApp >> name: aString [ + name := aString +] + +{ #category : #accessing } +BreaApp >> parentFolder: anObject [ + self folder: anObject / self name asCamelCase +]