Sha256: bda749f96c356453f1ca92b469c165cc20014a405a101e51bb2473452427a0f6

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

module Ambient
  module DSL
    class PlistScope
      attr_reader :application,
                  :helper

      def initialize(application, path)
        @application = application
        @helper = PlistHelper.new(path)
      end

      def configure(&block)
        instance_eval(&block)
      end

      def entry(key, value)
        helper.add_entry(key, value)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ambient-xcode-0.8.1 lib/ambient/dsl/plist_scope.rb
ambient-xcode-0.8.0 lib/ambient/dsl/plist_scope.rb
ambient-xcode-0.7.1 lib/ambient/dsl/plist_scope.rb
ambient-xcode-0.7.0 lib/ambient/dsl/plist_scope.rb