class Polisher::TagMapper
Public Class Methods
map(tag)
click to toggle source
# File lib/polisher/util/tag_mapper.rb, line 22 def self.map(tag) @tags ||= {} @tags[tag] end
method_missing(id, *args)
click to toggle source
# File lib/polisher/util/tag_mapper.rb, line 13 def self.method_missing(id, *args) set(id.to_s, args.first) end
set(tag, value)
click to toggle source
# File lib/polisher/util/tag_mapper.rb, line 17 def self.set(tag, value) @tags ||= {} @tags[tag] = value end