module Croesus::AnonoMod
Registry for anonymous methods, not so anonymous now are you!
Public Class Methods
register(resource_name, mod)
click to toggle source
# File lib/croesus/dsl/mod_factory.rb, line 30 def self.register(resource_name, mod) registry[resource_name] = mod end
registry()
click to toggle source
# File lib/croesus/dsl/mod_factory.rb, line 26 def self.registry @registry end