# File lib/librarian/config/hash_source.rb, line 10 def initialize(adapter_name, options = { }) super self.name = options.delete(:name) or raise ArgumentError, "must provide name" self.raw = options.delete(:raw) or raise ArgumentError, "must provide raw" end
# File lib/librarian/config/hash_source.rb, line 17 def to_s name end
# File lib/librarian/config/hash_source.rb, line 23 def load translate_raw_to_config(raw) end
# File lib/librarian/config/hash_source.rb, line 27 def save(config) raise Error, "nonsense!" end