repubmark/lib/repubmark/titled_ref.rb

17 lines
232 B
Ruby

# frozen_string_literal: true
module Repubmark
class TitledRef
attr_reader :url, :title
def initialize(url, title)
self.url = url
self.title = title
end
private
attr_writer :url, :title
end
end