Sha256: f5e045cce1f5ace000c88e39ffb68a663eff192d20fbfcb4d225adebb6b40c56

Contents?: true

Size: 556 Bytes

Versions: 2

Compression:

Stored size: 556 Bytes

Contents

require 'high_voltage/version'
require 'high_voltage/constraints/root_route'
require 'high_voltage/page_finder'
require 'high_voltage/route_drawers/default'
require 'high_voltage/route_drawers/root'

module HighVoltage
  mattr_accessor :layout
  @@layout = 'application'

  mattr_accessor :content_path
  @@content_path = 'pages/'

  mattr_accessor :route_drawer
  @@route_drawer = HighVoltage::RouteDrawers::Default

  mattr_accessor :routes
  @@routes = true

  def self.setup
    yield self
  end

  require 'high_voltage/engine' if defined?(Rails)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
high_voltage-1.2.2 lib/high_voltage.rb
high_voltage-1.2.1 lib/high_voltage.rb