Class: Regexp
- Inherits:
-
Object
- Object
- Regexp
- Defined in:
- lib/ruby_ext/regexp.rb
Overview
Copyright © 2016 Freescale Semiconductor Inc.
Class Method Summary collapse
-
.string ⇒ Regexp
Single and double quoted strings.
Class Method Details
.string ⇒ Regexp
Returns single and double quoted strings.
4 5 6 |
# File 'lib/ruby_ext/regexp.rb', line 4 def self.string /['"][^'"]*['"]/ end |