class StableMatching::PreferenceList
Public Class Methods
new(preference_list)
click to toggle source
Calls superclass method
# File lib/stable-matching/preference_list.rb, line 10 def initialize(preference_list) super(preference_list) end
Public Instance Methods
to_s()
click to toggle source
# File lib/stable-matching/preference_list.rb, line 14 def to_s map(&:name).to_s end