Class: Middleman::PreviewServer::ServerHostname::ServerFullHostname
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Middleman::PreviewServer::ServerHostname::ServerFullHostname
- Defined in:
- lib/middleman-core/preview_server/server_hostname.rb
Class Method Summary collapse
Instance Method Summary collapse
- #to_s ⇒ Object (also: #to_browser)
Class Method Details
.match? ⇒ Boolean
9 10 11 |
# File 'lib/middleman-core/preview_server/server_hostname.rb', line 9 def self.match?(*) true end |
Instance Method Details
#to_s ⇒ Object Also known as: to_browser
5 6 7 |
# File 'lib/middleman-core/preview_server/server_hostname.rb', line 5 def to_s __getobj__.gsub(/\s/, '+') end |