Class: RRT_RUBY::RRTComponent::Library
- Inherits:
-
Component
- Object
- RRT_RUBY::RRTGeneric::Element
- Component
- RRT_RUBY::RRTComponent::Library
- Defined in:
- lib/rrt_ruby/rrt_component.rb
Overview
A Library Component
Instance Attribute Summary collapse
-
#output_directory ⇒ Object
readonly
Returns the value of attribute output_directory.
-
#unit_name ⇒ Object
readonly
Returns the value of attribute unit_name.
Attributes inherited from Component
Attributes inherited from RRT_RUBY::RRTGeneric::Element
#documentation, #name, #qualifiedname, #stereotype
Instance Method Summary collapse
-
#initialize(element) ⇒ Library
constructor
A new instance of Library.
- #to_s ⇒ Object
Constructor Details
#initialize(element) ⇒ Library
Returns a new instance of Library.
32 33 34 35 36 37 38 |
# File 'lib/rrt_ruby/rrt_component.rb', line 32 def initialize element begin super(element) rescue raise RRTGeneric::ElementException.new(element),"error while initialising element: #{$!}" end end |
Instance Attribute Details
#output_directory ⇒ Object (readonly)
Returns the value of attribute output_directory.
30 31 32 |
# File 'lib/rrt_ruby/rrt_component.rb', line 30 def output_directory @output_directory end |
#unit_name ⇒ Object (readonly)
Returns the value of attribute unit_name.
30 31 32 |
# File 'lib/rrt_ruby/rrt_component.rb', line 30 def unit_name @unit_name end |
Instance Method Details
#to_s ⇒ Object
39 40 41 |
# File 'lib/rrt_ruby/rrt_component.rb', line 39 def to_s super() end |