Sha256: 83499e9749452488e57ff1425af3c6b40e436a3abdd473b4a8975ef72bf72c07

Contents?: true

Size: 214 Bytes

Versions: 10

Compression:

Stored size: 214 Bytes

Contents

module Dry
  module Data
    class DSL
      attr_reader :container

      def initialize(container)
        @container = container
      end

      def [](name)
        container[name]
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dry-data-0.4.2 lib/dry/data/dsl.rb
dry-data-0.4.1 lib/dry/data/dsl.rb
dry-data-0.4.0 lib/dry/data/dsl.rb
dry-data-0.3.2 lib/dry/data/dsl.rb
dry-data-0.3.1 lib/dry/data/dsl.rb
dry-data-0.3.0 lib/dry/data/dsl.rb
dry-data-0.2.1 lib/dry/data/dsl.rb
dry-data-0.2.0 lib/dry/data/dsl.rb
dry-data-0.1.0 lib/dry/data/dsl.rb
dry-data-0.0.1 lib/dry/data/dsl.rb