Module: IziLightup

Defined in:
lib/izi_lightup.rb,
lib/izi_lightup/asset.rb,
lib/izi_lightup/engine.rb,
lib/izi_lightup/version.rb,
lib/izi_lightup/asset_info.rb,
lib/izi_lightup/inline_asset.rb,
lib/izi_lightup/smart_picture.rb

Defined Under Namespace

Modules: Asset, InlineAsset, SmartPicture Classes: AssetInfo, Engine

Constant Summary collapse

VERSION =
'1.0.31'

Class Method Summary collapse

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (IziLightup)

    the object that the method was called on



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

def configure
  yield self
end

.root_pathObject



19
20
21
# File 'lib/izi_lightup.rb', line 19

def root_path
  @root_path ||= Pathname.new(File.dirname(File.expand_path(__dir__)))
end