module Faith::Named

Public Instance Methods

full_name() click to toggle source
# File lib/faith/named.rb, line 7
def full_name
  (parent && !parent.root?) ? "#{parent.full_name}:#{name}" : name
end
root?() click to toggle source
# File lib/faith/named.rb, line 3
def root?
  name == 'root'
end