Method: Zapata::Primitive::Base#initialize

Defined in:
lib/zapata/primitive/base.rb

#initialize(code) ⇒ Base

Returns a new instance of Base.



8
9
10
11
# File 'lib/zapata/primitive/base.rb', line 8

def initialize(code)
  @code = code
  @type = code.type
end