Sha256: e6fab9ca8925f677dbf4f8f1aa7ccb2c2922851f296d7d051207bdbe4a11fde3

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

module MobileIntent
  class Config
    attr_reader :apps

    def initialize
      @apps = {}
    end

    def has?(name)
      @apps.has_key?(name)
    end

    protected
    def register(name, urls = {})
      @apps[name] = Application.new(name, urls)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mobile_intent-0.0.1 lib/mobile_intent/config.rb