Class: Bunch::NullNode

Inherits:
FileNode show all
Defined in:
lib/bunch/null_node.rb

Instance Attribute Summary

Attributes inherited from FileNode

#name

Attributes inherited from AbstractNode

#options

Instance Method Summary collapse

Methods inherited from FileNode

#initialize, #inspect

Methods inherited from AbstractNode

#write_to_dir, #write_to_file

Constructor Details

This class inherits a constructor from Bunch::FileNode

Instance Method Details

#contentObject



3
4
5
# File 'lib/bunch/null_node.rb', line 3

def content
  ''
end

#target_extensionObject



7
8
9
# File 'lib/bunch/null_node.rb', line 7

def target_extension
  nil
end