class Envo::NoVal

Public Instance Methods

accept_assign?(other) click to toggle source
# File lib/envo/val/no_val.rb, line 11
def accept_assign?(other)
  true
end
clean!() click to toggle source
# File lib/envo/val/no_val.rb, line 32
def clean!
end
invalid_description() click to toggle source
# File lib/envo/val/no_val.rb, line 14
def invalid_description
  nil
end
list?() click to toggle source
# File lib/envo/val/no_val.rb, line 17
def list?
  false
end
pretty_print(ctx) click to toggle source
# File lib/envo/val/no_val.rb, line 26
def pretty_print(ctx)
  ctx.puts '<empty>'
end
to_env_s() click to toggle source
# File lib/envo/val/no_val.rb, line 29
def to_env_s
  nil
end
to_list() click to toggle source
# File lib/envo/val/no_val.rb, line 20
def to_list
  return ListVal.new([])
end
to_s() click to toggle source
# File lib/envo/val/no_val.rb, line 23
def to_s
  ''
end
type() click to toggle source

casts

# File lib/envo/val/no_val.rb, line 8
def type
  :empty
end
value() click to toggle source
# File lib/envo/val/no_val.rb, line 3
def value
  nil
end