lib/catissue/database/controlled_values.rb
def make_controlled_value(value_hash)
      cv = ControlledValue.new(value_hash[:value], value_hash[:parent])
      cv.identifier = value_hash[:identifier]
      cv.public_id = value_hash[:public_id]
      cv
    end
def make_controlled_value(value_hash)
      cv = ControlledValue.new(value_hash[:value], value_hash[:parent])
      cv.identifier = value_hash[:identifier]
      cv.public_id = value_hash[:public_id]
      cv
    end
def make_controlled_value ( value_hash ) cv = ControlledValue . new ( value_hash [ :value ] , value_hash [ :parent ] ) cv . identifier = value_hash [ :identifier ] cv . public_id = value_hash [ :public_id ] cv end
Returns a new ControlledValue with attributes set by the given attribute => value hash.
Returns a new ControlledValue with attributes set by the given attribute = > value hash .