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