Class/Module Index [+]

Quicksearch

Reek::Source::SexpExtensions::ModuleNode

Public Instance Methods

full_name(outer) click to toggle source
# File lib/reek/source/tree_dresser.rb, line 161
def full_name(outer)
  prefix = outer == '' ? '' : "#{outer}::"
  "#{prefix}#{text_name}"
end
name() click to toggle source
# File lib/reek/source/tree_dresser.rb, line 153
def name() self[1] end
simple_name() click to toggle source
# File lib/reek/source/tree_dresser.rb, line 154
def simple_name
  expr = name
  while Sexp === expr and expr[0] == :colon2
    expr = expr[2]
  end
  expr
end
text_name() click to toggle source
# File lib/reek/source/tree_dresser.rb, line 165
def text_name
  SexpNode.format(name)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.