Sha256: 681c9b23874ffc1351bdb18f48a45ad696dc13a047b2fcdc0fe52e61a7809c16

Contents?: true

Size: 347 Bytes

Versions: 2

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true
def init
  sections :header, [T('docstring')], :children, :includes, :extends,
    :class_meths_list, :instance_meths_list
end

def class_meths
  @classmeths ||= method_listing.select {|o| o.scope == :class }
end

def instance_meths
  @instmeths ||= method_listing.select {|o| o.scope == :instance }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yard-0.9.18 templates/default/module/text/setup.rb
yard-0.9.17 templates/default/module/text/setup.rb