A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sinatra/mustermann/commit/d3c9531d372522d693fa5f768f13dbaa1d881d88 below:

avoid unintended conflict of namespace, fixes #64 · sinatra/mustermann@d3c9531 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+6

-4

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+6

-4

lines changed Original file line number Diff line number Diff line change

@@ -1,7 +1,9 @@

1 1

# frozen_string_literal: true

2 2

module Mustermann

3 -

Error ||= Class.new(StandardError) # Raised if anything goes wrong while generating a {Pattern}.

4 -

CompileError ||= Class.new(Error) # Raised if anything goes wrong while compiling a {Pattern}.

5 -

ParseError ||= Class.new(Error) # Raised if anything goes wrong while parsing a {Pattern}.

6 -

ExpandError ||= Class.new(Error) # Raised if anything goes wrong while expanding a {Pattern}.

3 +

unless defined?(Mustermann::Error)

4 +

Error = Class.new(StandardError) # Raised if anything goes wrong while generating a {Pattern}.

5 +

CompileError = Class.new(Error) # Raised if anything goes wrong while compiling a {Pattern}.

6 +

ParseError = Class.new(Error) # Raised if anything goes wrong while parsing a {Pattern}.

7 +

ExpandError = Class.new(Error) # Raised if anything goes wrong while expanding a {Pattern}.

8 +

end

7 9

end

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4