Class: PrePlay::Event::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/preplay/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Configuration

Returns a new instance of Configuration.

Yields:

  • (_self)

Yield Parameters:



28
29
30
31
32
# File 'lib/preplay/event.rb', line 28

def initialize
  yield self if block_given?

  @field_whitelist ||= {}
end

Instance Attribute Details

#field_whitelistObject

Returns the value of attribute field_whitelist.



27
28
29
# File 'lib/preplay/event.rb', line 27

def field_whitelist
  @field_whitelist
end