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.
14 15 16 |
# File 'lib/reactor/link/internal.rb', line 14 def initialize(_anything) raise TypeError, "#{self.class.name} is deprecated!" end |
Instance Attribute Details
#destination_object ⇒ Object
Returns the value of attribute destination_object.
4 5 6 |
# File 'lib/reactor/link/internal.rb', line 4 def destination_object @destination_object end |
Instance Method Details
#external? ⇒ Boolean
6 7 8 |
# File 'lib/reactor/link/internal.rb', line 6 def external? false end |
#id ⇒ Object
18 19 20 |
# File 'lib/reactor/link/internal.rb', line 18 def id nil end |
#internal? ⇒ Boolean
10 11 12 |
# File 'lib/reactor/link/internal.rb', line 10 def internal? true end |