mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-05 22:40:25 +08:00
12 lines
303 B
Ruby
12 lines
303 B
Ruby
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 |