Method: MotionPrime::TableDelegate#init_pull_to_refresh
- Defined in:
- motion-prime/sections/table/table_delegate.rb
#init_pull_to_refresh ⇒ Object
17 18 19 20 21 22 |
# File 'motion-prime/sections/table/table_delegate.rb', line 17 def init_pull_to_refresh return unless block = table_section.class.pull_to_refresh_block table_section.add_pull_to_refresh(table_section.class. || {}) do table_section.instance_eval(&block) end end |