Class: TableMe::URLParser
- Inherits:
-
Object
- Object
- TableMe::URLParser
- Defined in:
- lib/table_me/url_parser.rb
Overview
Parse the url params into the hash needed for table_me to work. Take the tables which aren’t the current one and save them as other_tables so we can persist their states in links.
Class Method Summary collapse
Class Method Details
.parse_params_for(params, name) ⇒ Object
8 9 10 11 |
# File 'lib/table_me/url_parser.rb', line 8 def self.parse_params_for params, name @@name = name parse_table_me(params) end |