Sha256: e160cd5c02beef741249fb63e3677fd064354e117f8cc5c769f64cb63c638c54

Contents?: true

Size: 732 Bytes

Versions: 7

Compression:

Stored size: 732 Bytes

Contents

require 'weskit/version'

module Weskit
  module WML
    def self.require_all files, folder = nil
      folder = (folder.to_s || '') + '/'
      files.collect {|file| require "weskit/wml/#{folder}#{file}"}
    end
  end
end

w = Weskit::WML
w.require_all %w{validator grammar searchable container}, :mixins
w.require_all %w{object}, :extensions
w.require_all %w{error invalid_identifier invalid_item invalid_option invalid_parameters parse_error read_error}, :errors
w.require_all %w(kpeg simple), :parsers
w.require_all %w{item_formatter attribute element ansi_color ansi_color_attribute ansi_color_element}, :formatters
w.require_all %w{item items attribute attributes builder element elements formatter preprocessor parser root}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
weskit-0.3.6 lib/weskit/wml.rb
weskit-0.3.5 lib/weskit/wml.rb
weskit-0.3.4 lib/weskit/wml.rb
weskit-0.3.3 lib/weskit/wml.rb
weskit-0.3.2 lib/weskit/wml.rb
weskit-0.3.1 lib/weskit/wml.rb
weskit-0.3.0 lib/weskit/wml.rb