Class: FSLayer::Link
- Inherits:
-
Object
- Object
- FSLayer::Link
- Defined in:
- lib/fs_layer/link.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(file) ⇒ Link
constructor
A new instance of Link.
- #to(symlink_destination) ⇒ Object
Constructor Details
#initialize(file) ⇒ Link
Returns a new instance of Link.
5 6 7 |
# File 'lib/fs_layer/link.rb', line 5 def initialize file @file = file end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
3 4 5 |
# File 'lib/fs_layer/link.rb', line 3 def file @file end |