Module: Link2::Brain
- Included in:
- Helpers
- Defined in:
- lib/link2/brain.rb
Constant Summary collapse
- AutoDetectionFailed =
Class.new(::ArgumentError)
- NilArgument =
Class.new(::ArgumentError)
- URL_PATH_REGEX =
/\//- CLASS_INSTANCE_STRING =
/\#\<.*\:0x.*\>/- LINK_TO_OPTION_KEYS =
[:method, :confirm, :popup, :html_options].freeze
- BUTTON_TO_OPTION_KEYS =
[:method, :confirm, :disabled].freeze
- IGNORED_OPTION_KEYS =
(LINK_TO_OPTION_KEYS + BUTTON_TO_OPTION_KEYS).uniq
- POLYMORPHIC_OPTION_KEYS =
[:action, :routing_type]