Class: EbnfExpression::Method

Inherits:
Base
  • Object
show all
Defined in:
lib/pdoc/parser/ebnf_expression_nodes.rb

Direct Known Subclasses

Constructor, InstanceMethod, KlassMethod, Utility

Instance Method Summary collapse

Methods inherited from Base

#full_name, #inspect, #klass_name, #name, #namespace, #returns, #to_s

Instance Method Details

#argumentsObject



33
34
35
# File 'lib/pdoc/parser/ebnf_expression_nodes.rb', line 33

def arguments
  args.arguments.to_a
end

#methodized?Boolean

Returns:

  • (Boolean)


37
38
39
# File 'lib/pdoc/parser/ebnf_expression_nodes.rb', line 37

def methodized?
  false
end

#signatureObject



41
42
43
# File 'lib/pdoc/parser/ebnf_expression_nodes.rb', line 41

def signature
  "#{name}#{args.text_value}"
end