Class: Ygg::Link
Instance Attribute Summary collapse
-
#info ⇒ Object
Returns the value of attribute info.
-
#source ⇒ Object
Returns the value of attribute source.
-
#target ⇒ Object
Returns the value of attribute target.
Instance Method Summary collapse
Methods inherited from Model
#*, #<, #>, #_finalize!, #_id, #_loading!, all, #destroy, #initialize, key, #link_with, #links, #sources, #targets, timestamps!, validator
Constructor Details
This class inherits a constructor from Ygg::Model
Instance Attribute Details
#info ⇒ Object
Returns the value of attribute info.
3 4 5 |
# File 'lib/ygg/bck/link.rb', line 3 def info @info end |
#source ⇒ Object
Returns the value of attribute source.
3 4 5 |
# File 'lib/ygg/bck/link.rb', line 3 def source @source end |
#target ⇒ Object
Returns the value of attribute target.
3 4 5 |
# File 'lib/ygg/bck/link.rb', line 3 def target @target end |
Instance Method Details
#&(data) ⇒ Object
4 |
# File 'lib/ygg/bck/link.rb', line 4 def &(data); @info = data; end |