Class: Peek::Views::Host
- Inherits:
-
View
- Object
- View
- Peek::Views::Host
- Defined in:
- lib/peek/views/host.rb
Instance Method Summary collapse
- #hostname ⇒ Object
-
#initialize(options = {}) ⇒ Host
constructor
Returns Peek::Views::Host.
Constructor Details
#initialize(options = {}) ⇒ Host
Returns Peek::Views::Host
6 7 8 |
# File 'lib/peek/views/host.rb', line 6 def initialize( = {}) @hostname = hostname end |
Instance Method Details
#hostname ⇒ Object
10 11 12 |
# File 'lib/peek/views/host.rb', line 10 def hostname `hostname` end |