Top Level Namespace
Defined Under Namespace
Modules: IRB, Tins Classes: Array, Date, DateTime, File, Hash, IO, Method, Module, Object, Proc, Range, String, Time, UnboundMethod
Constant Summary collapse
- Spruz =
This Is Not Spruz
Tins- DSLKit =
DSLKit provides a comprehensive framework for building Domain Specific Languages and configuration systems in Ruby.
DSLKit is designed to make it easy to create clean, expressive APIs that feel natural to Ruby developers. It provides a collection of utilities for:
- Creating method-based accessors and constants
- Working with singleton classes and eigenclasses
- Building thread-safe global variables
- Implementing dynamic code evaluation
- Creating symbolic method handling
- Deflecting method calls for interception
- Providing delegate patterns for method forwarding
- Building blank slates for clean API surfaces
The framework is organized around several key modules:
- Tins::DSLAccessor: For creating configurable accessors with default values
- Tins::Constant: For creating method-based constants
- Tins::Eigenclass: For working with singleton classes
- Tins::ClassMethod: For defining class methods dynamically
- Tins::ThreadGlobal: For thread-safe global variables
- Tins::Interpreter: For dynamic code evaluation
- Tins::SymbolMaker: For symbolic method handling
- Tins::ConstantMaker: For symbolic constant handling
- Tins::Deflect: For method call interception
- Tins::Delegate: For method delegation patterns
- Tins::BlankSlate: For creating clean API surfaces
Tins