Sha256: 0299345c183c5227910e16339d9b464dec8b8c726042fcef261140210ed024bb

Contents?: true

Size: 542 Bytes

Versions: 101

Compression:

Stored size: 542 Bytes

Contents

def init
  super
  sections.place(:configuration_summary).before(:method_summary)
end

# Highlight stuff
def hl(code)
  case code
  when :do, :end then %(<span class="kw">#{code}</span>)
  when Symbol then %(<span class="symbol">#{code.inspect}</span>)
  when Integer then %(<span class="integer val">#{code}</span>)
  when String then %(<span class="string val">#{code.inspect}</span>)
  when true, false then %(<span class="kw">#{code.inspect}</span>)
  when nil then %(<span class="nil kw">#{code.inspect}</span>)
  else code
  end    
end

Version data entries

101 entries across 101 versions & 4 rubygems

Version Path
dragonfly-0.2.1 yard/templates/default/module/setup.rb