Sha256: 80044b019d0d7705039b41dc512ce8c6b4ab03408661346f7411dc1974b31d03

Contents?: true

Size: 379 Bytes

Versions: 2

Compression:

Stored size: 379 Bytes

Contents

class Service {
	running is false
	procedure start {
		conditions {
			this.running is false
		}
		effects {
			this.running is true
		}
	}
	procedure stop {
		conditions {
			this.running is true
		}
		effects {
			this.running is false
		}
	}
}
class Client {
	refer isref Service
	procedure redirect(s isref Service) {
		conditions { }
		effects {
			this.refer is s
		}
	}
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sfp-0.1.1 test/types.sfp
sfp-0.1.0 test/types.sfp