Module: MockFS::MockFileSystem::Node
Overview
:nodoc:
Instance Attribute Summary collapse
-
#mtime ⇒ Object
Returns the value of attribute mtime.
-
#name ⇒ Object
Returns the value of attribute name.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#permissions ⇒ Object
Returns the value of attribute permissions.
Instance Method Summary collapse
Instance Attribute Details
#mtime ⇒ Object
Returns the value of attribute mtime.
413 414 415 |
# File 'lib/mockfs.rb', line 413 def mtime @mtime end |
#name ⇒ Object
Returns the value of attribute name.
413 414 415 |
# File 'lib/mockfs.rb', line 413 def name @name end |
#parent ⇒ Object
Returns the value of attribute parent.
413 414 415 |
# File 'lib/mockfs.rb', line 413 def parent @parent end |
#permissions ⇒ Object
Returns the value of attribute permissions.
413 414 415 |
# File 'lib/mockfs.rb', line 413 def @permissions end |
Instance Method Details
#readable? ⇒ Boolean
415 416 417 |
# File 'lib/mockfs.rb', line 415 def readable? ! or [0] != 0 end |