Class: Mexico::FileSystem::ImplicitItemLink
- Inherits:
-
Object
- Object
- Mexico::FileSystem::ImplicitItemLink
- Defined in:
- lib/mexico/file_system/implicit_item_link.rb
Instance Attribute Summary collapse
-
#item ⇒ Object
Returns the value of attribute item.
-
#role ⇒ Object
Returns the value of attribute role.
-
#target_object ⇒ Object
(also: #target_item)
Returns the value of attribute target_object.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ ImplicitItemLink
constructor
A new instance of ImplicitItemLink.
Constructor Details
#initialize(args = {}) ⇒ ImplicitItemLink
Returns a new instance of ImplicitItemLink.
9 10 11 12 13 14 15 |
# File 'lib/mexico/file_system/implicit_item_link.rb', line 9 def initialize(args={}) args.each do |k,v| if self.respond_to?("#{k}=") send("#{k}=", v) end end end |
Instance Attribute Details
#item ⇒ Object
Returns the value of attribute item.
7 8 9 |
# File 'lib/mexico/file_system/implicit_item_link.rb', line 7 def item @item end |
#role ⇒ Object
Returns the value of attribute role.
5 6 7 |
# File 'lib/mexico/file_system/implicit_item_link.rb', line 5 def role @role end |
#target_object ⇒ Object Also known as: target_item
Returns the value of attribute target_object.
6 7 8 |
# File 'lib/mexico/file_system/implicit_item_link.rb', line 6 def target_object @target_object end |