Module: CharacterSet::RubyFallback

Includes:
CharacterSetMethods, PlaneMethods, 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/plane_methods.rb,
lib/character_set/ruby_fallback/character_set_methods.rb

Defined Under Namespace

Modules: CharacterSetMethods, PlaneMethods, SetMethods

Class Method Summary collapse

Instance Method Summary collapse

Methods included from CharacterSetMethods

#case_insensitive, #cover?, #delete_in, #delete_in!, #inversion, #keep_in, #keep_in!, #ranges, #sample, #used_by?

Methods included from PlaneMethods

#astral_part, #bmp_part, #member_in_plane?, #planes

Methods included from SetMethods

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

Class Method Details

.prepended(klass) ⇒ Object



12
13
14
# File 'lib/character_set/ruby_fallback.rb', line 12

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

Instance Method Details

#initialize(enum = []) ⇒ Object



16
17
18
19
# File 'lib/character_set/ruby_fallback.rb', line 16

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