class ActiveTriples::Configuration::MergeItem
Configuration
item which sets a value by turning the original into an array and appending the given value to it.
This enables multiple types to be set on an object, for example.
Public Instance Methods
set(value)
click to toggle source
# File lib/active_triples/configuration/merge_item.rb, line 11 def set(value) object.inner_hash[key] = Array.wrap(object.inner_hash[key]) object.inner_hash[key] |= Array.wrap(value) end