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