class MobileIntent::Config
Attributes
apps[R]
Public Class Methods
new()
click to toggle source
# File lib/mobile_intent/config.rb, line 5 def initialize @apps = {} end
Public Instance Methods
has?(name)
click to toggle source
# File lib/mobile_intent/config.rb, line 9 def has?(name) @apps.has_key?(name) end
Protected Instance Methods
register(name, urls = {})
click to toggle source
# File lib/mobile_intent/config.rb, line 14 def register(name, urls = {}) @apps[name] = Application.new(name, urls) end