Class: MigemoRegex::RegexAlternation
- Inherits:
-
Array
- Object
- Array
- MigemoRegex::RegexAlternation
- Defined in:
- lib/migemo-regex.rb
Instance Method Summary collapse
Instance Method Details
#delete_if ⇒ Object
26 27 28 |
# File 'lib/migemo-regex.rb', line 26 def delete_if self.clone.replace(super {|x| yield(x)}) end |
#map ⇒ Object
22 23 24 |
# File 'lib/migemo-regex.rb', line 22 def map self.clone.replace(super {|x| yield(x)}) end |
#select ⇒ Object
30 31 32 |
# File 'lib/migemo-regex.rb', line 30 def select self.clone.replace(super {|x| yield(x)}) end |
#sort ⇒ Object
14 15 16 |
# File 'lib/migemo-regex.rb', line 14 def sort self.clone.replace(super) end |
#uniq ⇒ Object
18 19 20 |
# File 'lib/migemo-regex.rb', line 18 def uniq self.clone.replace(super) end |