Method: Mongoid::Config::Introspection::Option#initialize
- Defined in:
- lib/mongoid/config/introspection.rb
#initialize(name, default, comment) ⇒ Option
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Create a new Option instance with the given name, default value, and comment.
58 59 60 |
# File 'lib/mongoid/config/introspection.rb', line 58 def initialize(name, default, comment) @name, @default, @comment = name, default, unindent(comment) end |