Class: Peek::Views::Host

Inherits:
View
  • Object
show all
Defined in:
lib/peek/views/host.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Host

Returns Peek::Views::Host



6
7
8
# File 'lib/peek/views/host.rb', line 6

def initialize(options = {})
  @hostname = hostname
end

Instance Method Details

#hostnameObject



10
11
12
# File 'lib/peek/views/host.rb', line 10

def hostname
  `hostname`
end