Sha256: eb6791770b7815497435b6366fca31550d046c484cad6ca0b58fd2531fe47c88

Contents?: true

Size: 609 Bytes

Versions: 1

Compression:

Stored size: 609 Bytes

Contents

module Expressir
  module Model
    class Function
      attr_accessor :id
      attr_accessor :parameters
      attr_accessor :return_type
      attr_accessor :declarations
      attr_accessor :constants
      attr_accessor :locals
      attr_accessor :statements

      def initialize(options = {})
        @id = options[:id]
        @parameters = options[:parameters]
        @return_type = options[:return_type]
        @declarations = options[:declarations]
        @constants = options[:constants]
        @locals = options[:locals]
        @statements = options[:statements]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
expressir-0.2.0 lib/expressir/model/function.rb