Sha256: 65586a4b5ae186d0d55797026456fb0d23d8e851e80efbd6ab38472fb59db7c4

Contents?: true

Size: 701 Bytes

Versions: 1

Compression:

Stored size: 701 Bytes

Contents

require 'netzke/basepack/version'
require 'netzke/active_record'

module Netzke
  module Basepack
    mattr_accessor :with_icons
    
    mattr_accessor :icons_uri
    
    class << self
      # Called from netzke-basepack.rb
      def init
        Netzke::Core.javascripts << "#{File.dirname(__FILE__)}/../../javascripts/basepack.js"
        Netzke::Core.stylesheets << "#{File.dirname(__FILE__)}/../../stylesheets/basepack.css"
      end
    
      # Use it to confirure Basepack in the initializers, e.g.:
      # 
      #     Netzke::Basepack.setup do |config|
      #      config.icons_uri = "/images/famfamfam/icons"
      #     end
      def setup
        yield self
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
netzke-basepack-0.6.0 lib/netzke/basepack.rb