Sha256: c841ab0861dee2d8e65ebabc90f90c3fbb302228d81ae558e2cdd5a7e26fee26

Contents?: true

Size: 168 Bytes

Versions: 6

Compression:

Stored size: 168 Bytes

Contents

module Crags
  class Location
    attr_reader :domain

    def initialize(domain)
      @domain = domain
    end

    def url
      "http://#{domain}"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
crags-2.2.1 lib/crags/location.rb
crags-2.2.0 lib/crags/location.rb
crags-2.1.2 lib/crags/location.rb
crags-2.1.1 lib/crags/location.rb
crags-2.1.0 lib/crags/location.rb
crags-2.0.0 lib/crags/location.rb