Class: Wiris::Array
- Inherits:
-
Array
- Object
- Array
- Wiris::Array
- Defined in:
- lib/src-generic/Array.rb
Instance Method Summary collapse
Instance Method Details
#_(i, e = nil) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/src-generic/Array.rb', line 11 def _(i, e=nil) if e.nil? return get(i) else self[i] = e end end |
#contains_(key) ⇒ Object
19 20 21 |
# File 'lib/src-generic/Array.rb', line 19 def contains_(key) return self.include? key end |
#get(i) ⇒ Object
7 8 9 |
# File 'lib/src-generic/Array.rb', line 7 def get(i) return self[i] end |