Class: Simrpc::Schema::SchemaDef

Inherits:
Object
  • Object
show all
Defined in:
lib/simrpc/schema.rb

Overview

schema defintion including all defined classes and methods

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSchemaDef

Returns a new instance of SchemaDef.



327
328
329
330
# File 'lib/simrpc/schema.rb', line 327

def initialize
   @classes = []
   @methods = []
end

Instance Attribute Details

#classesObject

array of ClassDef



322
323
324
# File 'lib/simrpc/schema.rb', line 322

def classes
  @classes
end

#methodsObject

array of MethodDef



325
326
327
# File 'lib/simrpc/schema.rb', line 325

def methods
  @methods
end