class Wisper::Configuration::Broadcasters
Public Class Methods
new()
click to toggle source
# File lib/wisper/configuration.rb, line 34 def initialize @data = {} end
Public Instance Methods
fetch(key)
click to toggle source
# File lib/wisper/configuration.rb, line 38 def fetch(key) raise KeyError, "broadcaster not found for #{key}" unless include?(key) @data[key] end