Class: XFN::Link
Instance Method Summary collapse
-
#initialize(*args) ⇒ Link
constructor
A new instance of Link.
- #to_html ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(*args) ⇒ Link
Returns a new instance of Link.
27 28 29 30 31 32 |
# File 'lib/mofo/xfn.rb', line 27 def initialize(*args) super def relation.has?(value) is_a?(Array) ? include?(value) : self == value end end |