Class: RRT_RUBY::RRTLogical::Protocol

Inherits:
RRT_RUBY::RRTGeneric::Element show all
Defined in:
lib/rrt_ruby/rrt_logical.rb

Instance Attribute Summary

Attributes inherited from RRT_RUBY::RRTGeneric::Element

#documentation, #name, #qualifiedname, #stereotype

Instance Method Summary collapse

Constructor Details

#initialize(element) ⇒ Protocol

Returns a new instance of Protocol.



201
202
203
204
205
206
207
# File 'lib/rrt_ruby/rrt_logical.rb', line 201

def initialize element
	begin
		super(element)
	rescue
		raise RRTGeneric::ElementException.new(element),"error while initialising element: #{$!}"
	end
end

Instance Method Details

#to_sObject



209
210
211
# File 'lib/rrt_ruby/rrt_logical.rb', line 209

def to_s
	super()
end