rlsp.rb PUI�U 0cI�U #!/usr/bin/ruby RLSP_VERSION = "1.4.2" class Lambda attr_accessor :args, :body def initialize(args=[],body="") @args = (args.class == Array) ? args : [args] @body = body end end def strip_array arr while arr.length == 1 && arr[0].class == Array arr = arr[0] end arr end def strip_whitespace(str) str.split("\n").map { |l| (l[0].chr == ';') ? "\n" : l unless l[0] == nil }.join("\n