Class: Middleman::PreviewServer::ServerHostname::ServerFullHostname

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
middleman-core/lib/middleman-core/preview_server/server_hostname.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.match?Boolean



9
10
11
# File 'middleman-core/lib/middleman-core/preview_server/server_hostname.rb', line 9

def self.match?(*)
  true
end

Instance Method Details

#to_sObject Also known as: to_browser



5
6
7
# File 'middleman-core/lib/middleman-core/preview_server/server_hostname.rb', line 5

def to_s
  __getobj__.gsub(/\s/, '+')
end