Class: PDK::Context::None
- Inherits:
-
AbstractContext
- Object
- AbstractContext
- PDK::Context::None
- Defined in:
- lib/pdk/context/none.rb
Overview
Represents a context which the PDK does not know. For example an empty directory
Instance Attribute Summary
Attributes inherited from AbstractContext
Instance Method Summary collapse
Methods inherited from AbstractContext
#initialize, #pdk_compatible?, #root_path, #to_debug_log, #to_s
Constructor Details
This class inherits a constructor from PDK::Context::AbstractContext
Instance Method Details
#display_name ⇒ Object
:nocov:
10 11 12 |
# File 'lib/pdk/context/none.rb', line 10 def display_name 'an unknown context' end |
#parent_context ⇒ Object
16 17 18 19 |
# File 'lib/pdk/context/none.rb', line 16 def parent_context # An unknown context has no parent nil end |