Sha256: 966819d9e9365206a53f37f92051df42137ed73dad21dc383a12759907d6f1e3
Contents?: true
Size: 543 Bytes
Versions: 5
Compression:
Stored size: 543 Bytes
Contents
module Gamebox # Returns the global configuration object def self.configuration @configuration ||= Configuration.new @configuration end def self.configure yield configuration if block_given? end def define_behavior(name, &blk) Behavior.define name, &blk end def define_actor(name, &blk) Actor.define name, &blk end def define_actor_view(name, &blk) ActorView.define name, &blk end # module_function :define_behavior, :define_actor, :define_actor_view end # EEK... dirty? include Gamebox
Version data entries
5 entries across 5 versions & 1 rubygems