Class: Reactor::Link::Internal
- Inherits:
-
Object
- Object
- Reactor::Link::Internal
- Defined in:
- lib/reactor/link/internal.rb
Instance Attribute Summary collapse
-
#destination_object ⇒ Object
Returns the value of attribute destination_object.
Instance Method Summary collapse
- #external? ⇒ Boolean
- #id ⇒ Object
-
#initialize(anything) ⇒ Internal
constructor
A new instance of Internal.
- #internal? ⇒ Boolean
Constructor Details
#initialize(anything) ⇒ Internal
Returns a new instance of Internal.
10 11 12 13 |
# File 'lib/reactor/link/internal.rb', line 10 def initialize(anything) raise TypeError, "#{self.class.name} is deprecated!" self.destination_object = Obj.obj_from_anything(anything) end |
Instance Attribute Details
#destination_object ⇒ Object
Returns the value of attribute destination_object.
5 6 7 |
# File 'lib/reactor/link/internal.rb', line 5 def destination_object @destination_object end |
Instance Method Details
#external? ⇒ Boolean
7 |
# File 'lib/reactor/link/internal.rb', line 7 def external? ; false ; end |
#id ⇒ Object
15 16 17 |
# File 'lib/reactor/link/internal.rb', line 15 def id nil end |
#internal? ⇒ Boolean
8 |
# File 'lib/reactor/link/internal.rb', line 8 def internal? ; true ; end |