lib/surrounded/context.rb in surrounded-0.9.0 vs lib/surrounded/context.rb in surrounded-0.9.1
- old
+ new
@@ -1,9 +1,10 @@
require 'set'
require 'surrounded/context/role_map'
require 'surrounded/context/role_builders'
require 'surrounded/context/initializing'
+require 'surrounded/context/forwarding'
require 'surrounded/context/trigger_controls'
require 'surrounded/access_control'
require 'surrounded/shortcuts'
require 'surrounded/east_oriented'
@@ -15,10 +16,10 @@
# which encapsulate the interaction and behavior of objects inside.
module Surrounded
module Context
def self.extended(base)
base.class_eval {
- extend RoleBuilders, Initializing
+ extend RoleBuilders, Initializing, Forwarding
@triggers = Set.new
include InstanceMethods
trigger_mod = Module.new
\ No newline at end of file