class Array

Public Instance Methods

pretty_print(pp) click to toggle source

Pretty print the SHAUN value

# File lib/shaun.rb, line 195
def pretty_print(pp)
  pp.print_list self
end
to_sn() click to toggle source

Cast to a SHAUN list. Ruby Arrays are SHAUN lists but their values have to be SHAUN values as well

# File lib/shaun.rb, line 190
def to_sn
  map { |e| e.to_sn }
end