Method: Twterm::List#initialize
- Defined in:
- lib/twterm/list.rb
#initialize(list) ⇒ List
Returns a new instance of List.
7 8 9 10 11 12 13 |
# File 'lib/twterm/list.rb', line 7 def initialize(list) @id = list.id update!(list) @@instances[@id] = self self end |