class Docks::Tags::State
Public Class Methods
new()
click to toggle source
# File lib/docks/tags/state_tag.rb, line 6 def initialize @name = :state @parseable = true @synonyms = [:states] @multiple_allowed = true end
Public Instance Methods
process(symbol)
click to toggle source
# File lib/docks/tags/state_tag.rb, line 13 def process(symbol) symbol[@name].map! do |state| state = break_apart_variation_details(state) Containers::State.new(state) end end