Class: Delayed::ClassName::Configuration
- Inherits:
-
Object
- Object
- Delayed::ClassName::Configuration
- Defined in:
- lib/delayed/class_name/configuration.rb
Instance Attribute Summary collapse
-
#custom_parser ⇒ Object
Returns the value of attribute custom_parser.
Instance Method Summary collapse
- #custom_parser? ⇒ Boolean
-
#initialize(options = {}) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(options = {}) ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 |
# File 'lib/delayed/class_name/configuration.rb', line 6 def initialize( = {}) .each do |key, value| send("#{key}=", value) end end |
Instance Attribute Details
#custom_parser ⇒ Object
Returns the value of attribute custom_parser.
4 5 6 |
# File 'lib/delayed/class_name/configuration.rb', line 4 def custom_parser @custom_parser end |
Instance Method Details
#custom_parser? ⇒ Boolean
12 13 14 |
# File 'lib/delayed/class_name/configuration.rb', line 12 def custom_parser? !!@custom_parser end |