Sha256: 23aaa5c5587670a8a220663764a0f0202ea34ae24dd0a34803179260cdf6b7d9
Contents?: true
Size: 579 Bytes
Versions: 12
Compression:
Stored size: 579 Bytes
Contents
# Version information for the host system, kind of like a browser's user agent string. # # This could potentially be a part of `Platform` or `VERSION` but both of those are used when building the gemspec, # which can't depend on other gems. FIXME: That's no longer accurate, so this could be `Platform.user_agent` instead. module Maid::UserAgent class << self # This used to be called `#to_s`, but that made things difficult when testing. def value maid = "Maid/#{ ::Maid.const_get(:VERSION) }" "#{ maid } (#{ RUBY_DESCRIPTION })" end end end
Version data entries
12 entries across 12 versions & 1 rubygems