Sha256: aaf977e9eff0ef49dd0e68231bb42edbee65213facf69cf1b1b0a498b510b8a4
Contents?: true
Size: 304 Bytes
Versions: 1
Compression:
Stored size: 304 Bytes
Contents
module Supernova class << self attr_accessor :logger private :logger def log(message, method = :info) logger.send(method, message) if logger end end module Solr class << self def remove_trailing_slash(url) url.gsub(/[\/]+$/, "") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
supernova-core-0.0.1 | lib/supernova.rb |