class Configurious::Operations::Add
Public Instance Methods
do_operation(dict, key)
click to toggle source
# File lib/configurious/operations.rb, line 104 def do_operation(dict, key) raise "Cannot add element, key already exists: #{key}" if dict.has_key?(key) dict[key] = self.content end