module Aquarium::Extensions::RegexpHelper
Public Instance Methods
<=>(other)
click to toggle source
# File lib/aquarium/extensions/regexp.rb 11 def <=> other 12 to_s <=> other.to_s 13 end
empty?()
click to toggle source
# File lib/aquarium/extensions/regexp.rb 5 def empty? 6 source.strip.empty? 7 end
strip()
click to toggle source
# File lib/aquarium/extensions/regexp.rb 8 def strip 9 Regexp.new(source.strip) 10 end