Class: PrePlay::Event::Configuration
- Inherits:
-
Object
- Object
- PrePlay::Event::Configuration
- Defined in:
- lib/preplay/event.rb
Instance Attribute Summary collapse
-
#field_whitelist ⇒ Object
Returns the value of attribute field_whitelist.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize {|_self| ... } ⇒ Configuration
Returns a new instance of Configuration.
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_whitelist ⇒ Object
Returns the value of attribute field_whitelist.
27 28 29 |
# File 'lib/preplay/event.rb', line 27 def field_whitelist @field_whitelist end |