Module: Dropzone::StateAccumulator::ClassMethods
- Defined in:
- lib/dropzone/state_accumulator.rb
Instance Method Summary collapse
- #message_types ⇒ Object
- #message_types=(type) ⇒ Object
- #state_attr(*attrs) ⇒ Object
- #state_attributes ⇒ Object
Instance Method Details
#message_types ⇒ Object
25 |
# File 'lib/dropzone/state_accumulator.rb', line 25 def ; ; end |
#message_types=(type) ⇒ Object
24 |
# File 'lib/dropzone/state_accumulator.rb', line 24 def (type); = type; end |
#state_attr(*attrs) ⇒ Object
18 19 20 21 22 |
# File 'lib/dropzone/state_accumulator.rb', line 18 def state_attr(*attrs) attr_reader *attrs @state_attributes ||= [] @state_attributes += attrs end |
#state_attributes ⇒ Object
26 |
# File 'lib/dropzone/state_accumulator.rb', line 26 def state_attributes; @state_attributes; end |