Method: RDoc::CodeObject#options

Defined in:
lib/rdoc/code_object.rb

#optionsObject

The options instance from the store this CodeObject is attached to, or a default options instance if the CodeObject is not attached.

This is used by Text#snippet



282
283
284
# File 'lib/rdoc/code_object.rb', line 282

def options
  @store&.options || RDoc::Options.new
end