Module: Roda::RodaPlugins::ClassLevelRouting::ClassMethods

Defined in:
lib/roda/plugins/class_level_routing.rb

Instance Method Summary collapse

Instance Method Details

#freezeObject

Freeze the class level routes so that there can be no thread safety issues at runtime.



72
73
74
75
# File 'lib/roda/plugins/class_level_routing.rb', line 72

def freeze
  opts[:class_level_routes].freeze
  super
end