Class: Simrpc::Schema::SchemaDef
- Inherits:
-
Object
- Object
- Simrpc::Schema::SchemaDef
- Defined in:
- lib/simrpc/schema.rb
Overview
schema defintion including all defined classes and methods
Instance Attribute Summary collapse
-
#classes ⇒ Object
array of ClassDef.
-
#methods ⇒ Object
array of MethodDef.
Instance Method Summary collapse
-
#initialize ⇒ SchemaDef
constructor
A new instance of SchemaDef.
Constructor Details
#initialize ⇒ SchemaDef
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
#classes ⇒ Object
array of ClassDef
322 323 324 |
# File 'lib/simrpc/schema.rb', line 322 def classes @classes end |
#methods ⇒ Object
array of MethodDef
325 326 327 |
# File 'lib/simrpc/schema.rb', line 325 def methods @methods end |