Module: Spurs

Defined in:
lib/spurs.rb,
lib/spurs/nav.rb,
lib/spurs/badge.rb,
lib/spurs/flash.rb,
lib/spurs/modal.rb,
lib/spurs/engine.rb,
lib/spurs/popover.rb,
lib/spurs/section.rb,
lib/spurs/version.rb,
lib/spurs/nav/helper.rb,
lib/spurs/nav/builder.rb,
lib/spurs/flash/helper.rb,
lib/spurs/modal/helper.rb,
lib/spurs/flash/builder.rb,
lib/spurs/modal/builder.rb,
lib/spurs/popover/helper.rb,
lib/spurs/section/helper.rb,
lib/spurs/popover/builder.rb,
lib/spurs/flash/controller_mods.rb,
lib/spurs/modal/controller_mods.rb,
app/helpers/spurs/flashes_helper.rb,
app/helpers/spurs/application_helper.rb,
app/controllers/spurs/flashes_controller.rb,
app/controllers/spurs/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, Badge, Flash, FlashesHelper, Modal, Nav, Popover, Section Classes: ApplicationController, Engine, FlashesController

Constant Summary collapse

VERSION =
"0.0.5"

Class Method Summary collapse

Class Method Details

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

Yield self on setup for nice config blocks

Yields:

  • (_self)

Yield Parameters:

  • _self (Spurs)

    the object that the method was called on



8
9
10
# File 'lib/spurs.rb', line 8

def self.setup
  yield self
end