Module: WatchAttrAccessors

Overview

utility modules for models (eg: video, marker, etc)

Instance Method Summary collapse

Instance Method Details

#attr_accessor(*args) ⇒ Object



4
5
6
7
8
# File 'lib/howcast/client/utils.rb', line 4

def attr_accessor(*args)
  super(*args)
  @attr_accessors ||= []
  @attr_accessors += args
end

#attr_accessorsObject



10
11
12
# File 'lib/howcast/client/utils.rb', line 10

def attr_accessors
  @attr_accessors || []
end