Sha256: 68a794b627e99d803d4d4811ee8367298d12ffc4f271fb36d692165c1be1f4dc

Contents?: true

Size: 267 Bytes

Versions: 5

Compression:

Stored size: 267 Bytes

Contents

module Lolita
  module Hooks
    module Hooks
      def self.included(base)
        base.extend(SingletonMethods)
      end

      module SingletonMethods
        def component(name)
       	  Lolita::Hooks::Component.get(name)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lolita-3.0.7 lib/lolita/hooks/hooks.rb
lolita-3.0.6 lib/lolita/hooks/hooks.rb
lolita-3.0.5 lib/lolita/hooks/hooks.rb
lolita-3.0.4 lib/lolita/hooks/hooks.rb
lolita-3.0.3 lib/lolita/hooks/hooks.rb