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