Method: Cinch::Pattern#initialize
- Defined in:
- lib/cinch/pattern.rb
#initialize(prefix, pattern, suffix) ⇒ Pattern
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Pattern.
46 47 48 |
# File 'lib/cinch/pattern.rb', line 46 def initialize(prefix, pattern, suffix) @prefix, @pattern, @suffix = prefix, pattern, suffix end |