Sha256: 4ad803789399cfd42a5d9d83e6357d435cc668a28bf93cb0ef2764defcf11298

Contents?: true

Size: 682 Bytes

Versions: 1

Compression:

Stored size: 682 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{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 wml parser root}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
weskit-0.1.0 lib/weskit/wml.rb