Module: Boogex
- Defined in:
- lib/boogex.rb,
lib/boogex/error.rb,
lib/boogex/version.rb,
lib/boogex/convertor.rb
Defined Under Namespace
Modules: Helper
Constant Summary collapse
- Error =
Class.new(StandardError)
- VERSION =
'0.1.1'
Class Method Summary collapse
Class Method Details
.convert(text) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/boogex/convertor.rb', line 4 def self.convert(text) puts "Converting \"#{text}\" into regex" array = array_struct(text) array = ors_to_pipes(array) array = regex_formatting(array) regex_array_to_string(array) end |