Class: Source

Inherits:
Object
  • Object
show all
Defined in:
lib/rubidity/builder.rb

Overview

rename to unit (source unit) or service or ?? - why? why not?

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSource

Returns a new instance of Source.



74
75
76
# File 'lib/rubidity/builder.rb', line 74

def initialize
   @contracts = []
end

Instance Attribute Details

#contractsObject (readonly)

Returns the value of attribute contracts.



72
73
74
# File 'lib/rubidity/builder.rb', line 72

def contracts
  @contracts
end

Instance Method Details

#generateObject



78
79
80
# File 'lib/rubidity/builder.rb', line 78

def generate
   CodegenClassic.generate( self )
end