Class: Forester::NodeContent::List

Inherits:
Base
  • Object
show all
Defined in:
lib/forester/node_content/list.rb

Instance Method Summary collapse

Instance Method Details

#delete(*args) ⇒ Object Also known as: del!



20
21
22
# File 'lib/forester/node_content/list.rb', line 20

def delete(*args)
  super
end

#fetch(*args) ⇒ Object Also known as: get



10
11
12
# File 'lib/forester/node_content/list.rb', line 10

def fetch(*args)
  super
end

#include?(*args) ⇒ Boolean Also known as: has?

Returns:

  • (Boolean)


5
6
7
# File 'lib/forester/node_content/list.rb', line 5

def include?(*args)
  super
end

#push(*args) ⇒ Object Also known as: add!



15
16
17
# File 'lib/forester/node_content/list.rb', line 15

def push(*args)
  super
end

#to_arrayObject



25
26
27
# File 'lib/forester/node_content/list.rb', line 25

def to_array
  Array.new(self)
end