mirror of
https://github.com/edcommonwealth/ecp.org.git
synced 2026-03-10 16:00:27 -07:00
Update team page
This commit is contained in:
parent
33d7a0fcbf
commit
d0d59a7de2
17 changed files with 59 additions and 185 deletions
12
app/models/team_member.rb
Normal file
12
app/models/team_member.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
class TeamMember
|
||||
attr_reader :name, :title
|
||||
|
||||
def initialize(name:, title:)
|
||||
@name = name
|
||||
@title = title
|
||||
end
|
||||
|
||||
def short_name
|
||||
name.split(' ').first.downcase
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue