Sha256: 2c5ff4212b31f199457741147c92f7a29bb1bbb2bc7278c268aa8e61ddba371d

Contents?: true

Size: 313 Bytes

Versions: 5

Compression:

Stored size: 313 Bytes

Contents

module Rserve
  class REXP
    # represents a Function in R
    class Function < REXP
      attr_accessor :head, :body
      def initialize(head,body)
        super()
        @head=head
        @body=body
      end
      def to_ruby
        {:head=>@head.to_ruby,:body=>@body.to_ruby}
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rserve-client-0.3.5 lib/rserve/rexp/function.rb
rserve-client-0.3.3 lib/rserve/rexp/function.rb
rserve-client-0.3.2 lib/rserve/rexp/function.rb
rserve-client-0.3.1 lib/rserve/rexp/function.rb
rserve-client-0.3.0 lib/rserve/rexp/function.rb