Sha256: e64042a32c21fec0e44d9006d8f06c8ab19e03d33d91261fc56441ee65209b04

Contents?: true

Size: 340 Bytes

Versions: 4

Compression:

Stored size: 340 Bytes

Contents

module AngularSprinkles
  module Helpers
    module ServiceHelper
      def service(name, *input)
        register_service = ObjectKeyWrapper.new(name, JavaScript::RegisterService)
        @_sprinkles.content_yielder.call(register_service)

        ObjectKeyWrapper.new(name, input, JavaScript::BindRootService)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
angular_sprinkles-0.3.0 lib/angular_sprinkles/helpers/service_helper.rb
angular_sprinkles-0.2.14 lib/angular_sprinkles/helpers/service_helper.rb
angular_sprinkles-0.2.13 lib/angular_sprinkles/helpers/service_helper.rb
angular_sprinkles-0.2.12 lib/angular_sprinkles/helpers/service_helper.rb