Class: Mercurial::RootNode
- Inherits:
-
Node
- Object
- Node
- Mercurial::RootNode
show all
- Defined in:
- lib/mercurial-ruby/root_node.rb
Instance Attribute Summary
Attributes inherited from Node
#executable, #fmode, #nodeid, #parent, #repository
Instance Method Summary
collapse
Methods inherited from Node
#blame, #contents, #diff_to, #entries, #has_entry?, #initialize, #path_without_parent, #revision, #size
Methods included from Helper
#hg, #hg_to_array, #shell
Instance Method Details
#binary? ⇒ Boolean
17
18
19
|
# File 'lib/mercurial-ruby/root_node.rb', line 17
def binary?
false
end
|
#directory? ⇒ Boolean
5
6
7
|
# File 'lib/mercurial-ruby/root_node.rb', line 5
def directory?
true
end
|
#file? ⇒ Boolean
9
10
11
|
# File 'lib/mercurial-ruby/root_node.rb', line 9
def file?
false
end
|
#name ⇒ Object
21
22
23
|
# File 'lib/mercurial-ruby/root_node.rb', line 21
def name
''
end
|
#path ⇒ Object
25
26
27
|
# File 'lib/mercurial-ruby/root_node.rb', line 25
def path
''
end
|
#root? ⇒ Boolean
13
14
15
|
# File 'lib/mercurial-ruby/root_node.rb', line 13
def root?
true
end
|