Class: Doodle
- Inherits:
-
Object
- Object
- Doodle
- Includes:
- Core
- Defined in:
- lib/doodle.rb,
lib/doodle.rb,
lib/doodle/version.rb,
lib/doodle/datatypes.rb
Overview
note: this doesn’t have to be in Doodle namespace
Direct Known Subclasses
Defined Under Namespace
Modules: BaseMethods, BuiltIns, Core, DataTypes, Debug, Embrace, Factory, SelfClass, SmokeAndMirrors, Utils, VERSION Classes: AppendableAttribute, AttributeCollector, Base, ConversionError, DataTypeHolder, DeferredBlock, DoodleAttribute, DoodleInfo, InvalidOrderError, KeyedAttribute, NoDefaultError, UnknownAttributeError, Validation, ValidationError
Constant Summary collapse
- Helper =
deprecated
Core
- @@raise_exception_on_error =
error handling
true
Class Method Summary collapse
-
.context ⇒ Object
provide somewhere to hold thread-specific context information (I’m claiming the :doodle_xxx namespace).
- .raise_exception_on_error ⇒ Object
- .raise_exception_on_error=(tf) ⇒ Object
Methods included from Core
Class Method Details
.context ⇒ Object
provide somewhere to hold thread-specific context information (I’m claiming the :doodle_xxx namespace)
30 31 32 |
# File 'lib/doodle.rb', line 30 def context Thread.current[:doodle_context] ||= [] end |
.raise_exception_on_error ⇒ Object
82 83 84 |
# File 'lib/doodle.rb', line 82 def self.raise_exception_on_error @@raise_exception_on_error end |
.raise_exception_on_error=(tf) ⇒ Object
85 86 87 |
# File 'lib/doodle.rb', line 85 def self.raise_exception_on_error=(tf) @@raise_exception_on_error = tf end |