Module: HighVoltage

Defined in:
lib/high_voltage.rb,
lib/high_voltage/engine.rb,
lib/high_voltage/version.rb,
lib/high_voltage/page_finder.rb,
lib/high_voltage/route_drawers/root.rb,
lib/high_voltage/route_drawers/default.rb,
lib/high_voltage/constraints/root_route.rb

Defined Under Namespace

Modules: Constraints, RouteDrawers Classes: Engine, PageFinder, PagesController

Constant Summary collapse

VERSION =
'1.2.3'.freeze
@@layout =
'application'
@@content_path =
'pages/'
@@route_drawer =
HighVoltage::RouteDrawers::Default
@@routes =
true

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (HighVoltage)

    the object that the method was called on



21
22
23
# File 'lib/high_voltage.rb', line 21

def self.setup
  yield self
end