Class: JsRoutes::Options

Inherits:
Struct
  • Object
show all
Defined in:
lib/js_routes.rb

Instance Method Summary collapse

Instance Method Details

#to_hashObject


40
41
42
# File 'lib/js_routes.rb', line 40

def to_hash
  Hash[*members.zip(values).flatten(1)].symbolize_keys
end