Sha256: d9455ec04f9a6854922de2d698ddc740dc93a74390f5df1527d1644443604ea5

Contents?: true

Size: 412 Bytes

Versions: 26

Compression:

Stored size: 412 Bytes

Contents

module AngularSprinkles
  class Context
    attr_reader :key_generator, :constructor, :constructor_collection
    attr_accessor :content_yielder

    def initialize(args)
      @key_generator = args.fetch(:key_generator)
      @constructor = args.fetch(:constructor)
      @constructor_collection = args.fetch(:constructor_collection)
      @content_yielder = args.fetch(:content_yielder, nil)
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
angular_sprinkles-0.3.3 lib/angular_sprinkles/context.rb
angular_sprinkles-0.3.2 lib/angular_sprinkles/context.rb
angular_sprinkles-0.3.1 lib/angular_sprinkles/context.rb
angular_sprinkles-0.3.0 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.14 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.13 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.12 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.11 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.10 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.9 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.8 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.7 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.6 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.5 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.4 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.3 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.2 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.1 lib/angular_sprinkles/context.rb
angular_sprinkles-0.2.0 lib/angular_sprinkles/context.rb
angular_sprinkles-0.1.1 lib/angular_sprinkles/context.rb