Sha256: fce9c032c9bbcc74a850c88bcb7c2676cd214e0eb1f971759e00c9585de948f8

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

def init
  super
  require 'ruby-debug'; debugger

  sections.place(:task_definition).after(T('docstring'))
  sections.place(:settings, [:setting_summary]).before(:attribute_summary)
end

def prune_method_listing(list, hide_attrs=true)
  list = super
  list.reject do |o|
    unless CodeObjects::Proxy === o.namespace or o.namespace[:settings].nil?
      o.namespace[:settings].include?(o)
    else
      false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mattock-0.2.4 yard_templates/default/module/setup.rb