lib/lookbook/stores/hook_store.rb in lookbook-2.0.0.beta.4 vs lib/lookbook/stores/hook_store.rb in lookbook-2.0.0.beta.5

- old
+ new

@@ -1,9 +1,7 @@ module Lookbook class HookStore - CONFIG_FILE = "config/hooks.yml" - attr_reader :store delegate :to_h, to: :store def initialize(config = nil) @store = {} @@ -13,16 +11,8 @@ for_event(event_name) << callback end def for_event(event_name) store[event_name.to_sym] ||= [] - end - - def self.init_from_config - new(default_config) - end - - def self.default_config - ConfigLoader.call(CONFIG_FILE) end end end