Module: CharacterSet::RubyFallback

Includes:
CharacterSetMethods, SetMethods
Included in:
Pure
Defined in:
lib/character_set/ruby_fallback.rb,
lib/character_set/ruby_fallback/set_methods.rb,
lib/character_set/ruby_fallback/character_set_methods.rb

Defined Under Namespace

Modules: CharacterSetMethods, SetMethods

Class Method Summary collapse

Instance Method Summary collapse

Methods included from CharacterSetMethods

#case_insensitive, #count_in, #count_in_section, #cover?, #delete_in, #delete_in!, #inversion, #keep_in, #keep_in!, #member_in_plane?, #plane, #planes, #ranges, #sample, #scan, #section, #section?, #section_ratio, #used_by?

Methods included from SetMethods

#==, #eql?, #freeze, #hash, #initialize_clone, #initialize_dup, #merge, #to_a

Class Method Details

.prepended(klass) ⇒ Object



14
15
16
# File 'lib/character_set/ruby_fallback.rb', line 14

def self.prepended(klass)
  klass.extend CharacterSet::RubyFallback::CharacterSetMethods::ClassMethods
end

Instance Method Details

#initialize(enum = []) ⇒ Object



18
19
20
21
# File 'lib/character_set/ruby_fallback.rb', line 18

def initialize(enum = [])
  @__set = SortedSet.new
  super
end