Class: DocTypeChecker::TracePoint
- Inherits:
-
Object
- Object
- DocTypeChecker::TracePoint
- Defined in:
- lib/doc_type_checker/trace_point.rb
Overview
DocTypeChecker::TracePoint
Instance Attribute Summary collapse
-
#logger ⇒ Object
writeonly
Sets the attribute logger.
-
#strict ⇒ Object
writeonly
Sets the attribute strict.
Instance Method Summary collapse
Constructor Details
#initialize ⇒ DocTypeChecker::TracePoint
9 10 11 12 13 14 |
# File 'lib/doc_type_checker/trace_point.rb', line 9 def initialize @logger = nil @strict = false @store = DocTypeChecker::Store.new init_trace_point end |
Instance Attribute Details
#logger=(value) ⇒ Object (writeonly)
Sets the attribute logger
6 7 8 |
# File 'lib/doc_type_checker/trace_point.rb', line 6 def logger=(value) @logger = value end |
#strict=(value) ⇒ Object (writeonly)
Sets the attribute strict
6 7 8 |
# File 'lib/doc_type_checker/trace_point.rb', line 6 def strict=(value) @strict = value end |
Instance Method Details
#enabled=(enabled) ⇒ TrueClass, FalseClass
18 19 20 |
# File 'lib/doc_type_checker/trace_point.rb', line 18 def enabled=(enabled) enabled ? @trace_point.enable : @trace_point.disable end |