Module: Entypo

Defined in:
lib/entypo-rails.rb,
lib/entypo/charmap.rb,
lib/entypo/version.rb,
app/controllers/entypo/charmap_controller.rb

Overview

The entypo-rails plugin provides access to the Entypo pictograms by Daniel Bruce www.entypo.com in the Rails asset pipeline.

Defined Under Namespace

Classes: Charmap, CharmapController, Engine

Constant Summary collapse

VERSION =

Gem version

"3.0.0"
FONT_VERSION =

Entypo font version

"2.0-20121031"
@@css_prefix =

String used as CSS Prefix before the icon name defined by entypo, this can be set to avoid conflicts with other libraries like bootstrap.

The default is “icon”

"icon"
@@charmap =

Boolean which controls in which cases the route charmap route is drawn (or not), when set to ‘true` the route is drawn.

Defaults to ‘true` in Rails development env.

Rails.env.development?

Class Method Summary collapse

Class Method Details

.charmap?Boolean

Returns:

  • (Boolean)


21
# File 'lib/entypo-rails.rb', line 21

def self.charmap?; charmap end