Sha256: 1f397e5ffb42a91bbfcfbb6e64a837c72108d0de7dcefa388b00eb1bd05b5168

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

def init
  super
  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

2 entries across 2 versions & 1 rubygems

Version Path
mattock-0.2.2 yard_templates/default/module/setup.rb
mattock-0.2.1 yard_templates/default/module/setup.rb