Module: Siren::JsonQuery::Sorter
- Defined in:
- lib/siren/json_query_nodes.rb
Constant Summary collapse
- ORDERS =
{"/" => 1, "\\" => -1}
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
160 161 162 |
# File 'lib/siren/json_query_nodes.rb', line 160 def value ORDERS[elements[1].text_value] end |