Sha256: 67f6f5f919e6d77a89fe06a8910f54c3003d9ec81e9cfe6e5b73572b53ce1083

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

module Firewool
  module Hook
    def acts_as_firewalled
      @firewool_config = Firewool::Config.new
      include Firewool::InstanceMethods
    end

    def firewool_config
      @firewool_config.yaml_config || self.superclass.instance_variable_get('@firewool_config').yaml_config
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
firewool-0.1.1 lib/firewool/hook.rb
firewool-0.1.0 lib/firewool/hook.rb