lib/rubigen/lookup.rb
# Return a convenient sorted list of all generator names.
Return a convenient sorted list of all generator names.
Return a convenient sorted list of all generator names .
def names(filter = nil)
      inject([]) do |mem, spec|
        case filter
        when :visible
          mem << spec.name if spec.visible?
        end
        mem
      end.sort
    end
def names ( filter = nil ) inject ( [ ] ) do | mem , spec | case filter when :visible mem << spec . name if spec . visible? end mem end . sort end
Return a convenient sorted list of all generator names.
Return a convenient sorted list of all generator names .
filter
<not_specific>