This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object subclass: #BaseObject | |
instanceVariableNames: '' | |
classVariableNames: 'registry' | |
poolDictionaries: '' | |
category: 'EventSourcing'! | |
!BaseObject methodsFor: 'as yet unclassified' stamp: 'KjellMagneOierud 1/22/2017 11:29'! | |
logg: aString | |
Transcript show: aString ; cr .! ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_relative 'base' | |
require_relative 'event' | |
require_relative 'cmd' | |
require_relative 'crud' | |
require_relative 'model' | |
require_relative 'read' | |
require 'pp' | |
class Application < BaseObject |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
require 'reel' | |
require 'dcell' | |
DCell.start :id => "web_server", :addr => "tcp://127.0.0.1:9001" | |
class Inbox | |
include Celluloid | |
include Celluloid::Notifications |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby -w | |
require 'gtk2' | |
edges = [[:a, :b], | |
[:a, :c], | |
[:b, :c], | |
[:c, :d], | |
[:d, :e], | |
[:d, :f], |