Sha256: 274299afa5c1ccfcbc804b46560f08cf702ea0dad539b4b69b305d7749c3ee52

Contents?: true

Size: 215 Bytes

Versions: 8

Compression:

Stored size: 215 Bytes

Contents

class CharacterSet
  module CoreExt
    module RegexpExt
      def character_set
        CharacterSet.of_regexp(self)
      end
    end
  end
end

::Regexp.instance_eval { include CharacterSet::CoreExt::RegexpExt }

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
character_set-1.7.0-java lib/character_set/core_ext/regexp_ext.rb
character_set-1.7.0 lib/character_set/core_ext/regexp_ext.rb
character_set-1.6.0-java lib/character_set/core_ext/regexp_ext.rb
character_set-1.6.0 lib/character_set/core_ext/regexp_ext.rb
character_set-1.5.0-java lib/character_set/core_ext/regexp_ext.rb
character_set-1.5.0 lib/character_set/core_ext/regexp_ext.rb
character_set-1.4.1-java lib/character_set/core_ext/regexp_ext.rb
character_set-1.4.1 lib/character_set/core_ext/regexp_ext.rb