class TestML::List

Public Class Methods

new(value=[]) click to toggle source
Calls superclass method TestML::Object::new
# File lib/testml/runtime.rb, line 458
def initialize(value=[])
  super(value)
end

Public Instance Methods

list() click to toggle source
# File lib/testml/runtime.rb, line 464
def list
  return self
end
push(elem) click to toggle source
# File lib/testml/runtime.rb, line 461
def push elem
  @value.push elem
end