Module: Whoisthis
- Defined in:
- lib/whoisthis.rb,
lib/whoisthis/version.rb
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
Class Method Details
.get_hostname ⇒ Object
5 6 7 |
# File 'lib/whoisthis.rb', line 5 def get_hostname() `hostname`.chomp.gsub('.local', '') end |