lib/checklister/configuration.rb
# The label value, if not specifically set, we infer it from the given
# endpoint url (we use the host)
#
# @return [String] the label string
#
The label value, if not specifically set, we infer it from the given
endpoint url (we use the host)
The label value if not specifically set we infer it from the given endpoint url ( we use the host )
def label
      if instance_variable_get "@label"
        @label
      elsif instance_variable_get "@endpoint"
        URI.parse(@endpoint).host
      end
    end
def label if instance_variable_get "@label" @label elsif instance_variable_get "@endpoint" URI . parse ( @endpoint ) . host end end
The label value, if not specifically set, we infer it from the given
endpoint url (we use the host)
The label value if not specifically set we infer it from the given endpoint url ( we use the host )
the label string
the label string
String