Class: Objc2swiftAssistant::GeneratedSwiftFileNode
- Inherits:
-
SourceFileNode
- Object
- SourceFileNode
- Objc2swiftAssistant::GeneratedSwiftFileNode
- Defined in:
- lib/objc2swift_assistant/file_sets.rb
Instance Attribute Summary collapse
-
#full_path ⇒ Object
Returns the value of attribute full_path.
-
#relative_path ⇒ Object
Returns the value of attribute relative_path.
Attributes inherited from SourceFileNode
#directory_node, #file_set, #should_be_used
Instance Method Summary collapse
-
#initialize(directory_node, file_name) ⇒ GeneratedSwiftFileNode
constructor
A new instance of GeneratedSwiftFileNode.
Constructor Details
#initialize(directory_node, file_name) ⇒ GeneratedSwiftFileNode
Returns a new instance of GeneratedSwiftFileNode.
531 532 533 534 535 |
# File 'lib/objc2swift_assistant/file_sets.rb', line 531 def initialize( directory_node, file_name ) super( directory_node ) @full_path = directory_node.full_path + file_name @relative_path = directory_node.relative_path + file_name end |
Instance Attribute Details
#full_path ⇒ Object
Returns the value of attribute full_path.
528 529 530 |
# File 'lib/objc2swift_assistant/file_sets.rb', line 528 def full_path @full_path end |
#relative_path ⇒ Object
Returns the value of attribute relative_path.
529 530 531 |
# File 'lib/objc2swift_assistant/file_sets.rb', line 529 def relative_path @relative_path end |