class UkParliament::Lords
Class representing the House of Lords
.
Constants
Attributes
members[R]
Instance data accessor(s).
Public Class Methods
new(load_from_file = false)
click to toggle source
Initialise the class populating the Lords
member data.
# File lib/uk_parliament/lords.rb, line 15 def initialize(load_from_file = false) @members = HouseMembersManager.new(HOUSE_ID, load_from_file).members end