Class: DevSuite::DirectoryTree::Node::File

Inherits:
Base
  • Object
show all
Defined in:
lib/dev_suite/directory_tree/node/file.rb

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#children, #directory?, #hidden?, #initialize

Constructor Details

This class inherits a constructor from DevSuite::DirectoryTree::Node::Base

Instance Method Details

#file?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/dev_suite/directory_tree/node/file.rb', line 7

def file?
  true
end