Class: Mexico::FileSystem::ImplicitItemLink

Inherits:
Object
  • Object
show all
Defined in:
lib/mexico/file_system/implicit_item_link.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#itemObject

Returns the value of attribute item


7
8
9
# File 'lib/mexico/file_system/implicit_item_link.rb', line 7

def item
  @item
end

#roleObject

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_objectObject 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