Sha256: 8d35cbb7a2a142e48500b59e6376e814a15a47284d8f3d59bf844130ea692298

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

require 'yaml'
require 'assets/base'
require 'assets/javascripts'
require 'assets/stylesheets'

module Assets
  def self.config
    @config or raise 'You need to define config for assets'
  end

  def self.config=(file)
    @config = YAML.load_file file
  end

  def self.js
    Javascript
  end

  def self.css
    Stylesheet
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
brainopia-assets-0.9.1 lib/assets.rb
rack-assets-0.9.1 lib/assets.rb