Rails::Initializable::Initializer < Object
π from /home/chedong/.local/share/rdoc
| Use Case | Command | Description |
|---|---|---|
| Create a new initializer | Rails::Initializable::Initializer.new |
Instantiate a new initializer object |
| Execute the initializer block | initializer.run |
Run the stored block of code |
| Check context membership | initializer.belongs_to?(context_class) |
Returns true if the initializer belongs to the given context class |
| Bind to a context | initializer.bind(context) |
Bind the initializerβs block to a specific context object |
newafterbeforebelongs_to?bindblockcontext_classnamerunblock (attr_reader)name (attr_reader)Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 00:51 @216.73.217.46
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format