Method: Timber::Contexts::System#initialize
- Defined in:
- lib/timber/contexts/system.rb
#initialize(attributes) ⇒ System
Returns a new instance of System.
9 10 11 12 13 |
# File 'lib/timber/contexts/system.rb', line 9 def initialize(attributes) @hostname = attributes[:hostname] @pid = attributes[:pid] @pid = @pid.to_s end |