Sha256: 508a30687ffbaff383ae047d6ae0232863caff59eca5b0b83575818e622a8948

Contents?: true

Size: 253 Bytes

Versions: 4

Compression:

Stored size: 253 Bytes

Contents

module VER
  class View::List::Syntax < View::List
    def update
      list.value = sublist(syntaxes)
    end

    def syntaxes
      VER::Syntax.list.map do |fullpath|
        File.basename(fullpath, File.extname(fullpath))
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ver-2009.12.14 lib/ver/view/list/syntax.rb
ver-2009.11.29 lib/ver/view/list/syntax.rb
ver-2009.11.28 lib/ver/view/list/syntax.rb
ver-2009.10.14 lib/ver/view/list/syntax.rb