--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: "#root? is a predicate for root directories. I.e. it returns true if the pathname consists of consecutive slashes."
- !ruby/struct:SM::Flow::P
body: It doesn't access actual filesystem. So it may return false for some pathnames which points to roots such as /usr/...
full_name: Pathname#root?
is_singleton: false
name: root?
params: ()
visibility: public