Class: MarkdownRubyDocumentation::NullMethod
- Inherits:
-
Method
- Object
- Method
- MarkdownRubyDocumentation::NullMethod
show all
- Defined in:
- lib/markdown_ruby_documentation/method/null_method.rb
Constant Summary
Constants inherited
from Method
Method::InvalidMethodReference
Instance Attribute Summary
Attributes inherited from Method
#file_path, #line_no, #visibility
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Method
#==, ===, create, #hash, #initialize, #inspect, #source_location, #to_s, #type_symbol
Class Method Details
.type_symbol ⇒ Object
4
5
6
|
# File 'lib/markdown_ruby_documentation/method/null_method.rb', line 4
def self.type_symbol
""
end
|
Instance Method Details
#context ⇒ Object
20
21
22
|
# File 'lib/markdown_ruby_documentation/method/null_method.rb', line 20
def context
method_reference.constantize
end
|
#context_name ⇒ Object
24
25
26
|
# File 'lib/markdown_ruby_documentation/method/null_method.rb', line 24
def context_name
method_reference
end
|
#name ⇒ Object
8
9
10
|
# File 'lib/markdown_ruby_documentation/method/null_method.rb', line 8
def name
nil
end
|
#to_proc ⇒ Object
16
17
18
|
# File 'lib/markdown_ruby_documentation/method/null_method.rb', line 16
def to_proc
raise "Not convertible to a proc"
end
|
#type ⇒ Object
12
13
14
|
# File 'lib/markdown_ruby_documentation/method/null_method.rb', line 12
def type
raise "Does not have a type"
end
|