Class: Runcom::Runtime
- Inherits:
-
Object
- Object
- Runcom::Runtime
- Extended by:
- Forwardable
- Defined in:
- lib/runcom/runtime.rb
Overview
A developer friendly XDG runtime wrapper.
Constant Summary collapse
- CONTEXT =
Context.new xdg: XDG::Runtime
Instance Method Summary collapse
-
#initialize(path, context: CONTEXT) ⇒ Runtime
constructor
A new instance of Runtime.
- #inspect ⇒ Object
Constructor Details
#initialize(path, context: CONTEXT) ⇒ Runtime
Returns a new instance of Runtime.
14 15 16 17 |
# File 'lib/runcom/runtime.rb', line 14 def initialize path, context: CONTEXT @common = Paths::Common.new(path, context:) freeze end |
Instance Method Details
#inspect ⇒ Object
19 |
# File 'lib/runcom/runtime.rb', line 19 def inspect = "#<#{self.class}:#{object_id} #{common}>" |