Module: Site

Extended by:
Site
Included in:
Site
Defined in:
lib/tungsten.rb

Instance Method Summary collapse

Instance Method Details

#config_dataObject



24
25
26
# File 'lib/tungsten.rb', line 24

def config_data
  @config_data ||= Cyborg.config_data
end

#deployment_iconObject



28
29
30
# File 'lib/tungsten.rb', line 28

def deployment_icon
  @deployment_icon ||= Esvg.find_symbol('icons/deployment')
end

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

Map vars from app into engine

Yields:

  • (_self)

Yield Parameters:

  • _self (Site)

    the object that the method was called on



20
21
22
# File 'lib/tungsten.rb', line 20

def setup
  yield self
end