Module: Mercurial::Style

Extended by:
Style
Included in:
Style
Defined in:
lib/mercurial-ruby/style.rb

Constant Summary collapse

FIELD_SEPARATOR =
'|><|'
CHANGESET_SEPARATOR =
"||$||\n"

Instance Method Summary collapse

Instance Method Details

#changesetObject



13
14
15
# File 'lib/mercurial-ruby/style.rb', line 13

def changeset
  File.join(root_path, 'changeset.style')
end

#file_indexObject



17
18
19
# File 'lib/mercurial-ruby/style.rb', line 17

def file_index
  File.join(root_path, 'file_index.style')
end

#root_pathObject



9
10
11
# File 'lib/mercurial-ruby/style.rb', line 9

def root_path
  File.expand_path(File.join(File.dirname(__FILE__), '..', 'styles'))
end