Method: Imglab::Source#host

Defined in:
lib/imglab/source.rb

#hostString

Returns the host to be used with the source.

Returns:

  • (String)


38
39
40
# File 'lib/imglab/source.rb', line 38

def host
  @subdomains ? "#{@name}.#{@host}" : @host
end