Class: MarkdownRubyDocumentation::AnyArgs

Inherits:
Object
  • Object
show all
Defined in:
lib/markdown_ruby_documentation/template_parser/any_args.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args:, print_method_source:, caller:, for_method:, method_creator:) ⇒ AnyArgs

Returns a new instance of AnyArgs.



5
6
7
8
9
10
11
12
# File 'lib/markdown_ruby_documentation/template_parser/any_args.rb', line 5

def initialize(args:, print_method_source:, caller:, for_method:, method_creator:)
  @args                = args
  @print_method_source = print_method_source
  @caller              = caller
  @for_method          = for_method
  @method_creator      = method_creator
  call
end

Instance Attribute Details

#disable_processorsObject (readonly)

Returns the value of attribute disable_processors.



3
4
5
# File 'lib/markdown_ruby_documentation/template_parser/any_args.rb', line 3

def disable_processors
  @disable_processors
end

#source_codeObject (readonly)

Returns the value of attribute source_code.



3
4
5
# File 'lib/markdown_ruby_documentation/template_parser/any_args.rb', line 3

def source_code
  @source_code
end