Class: BigBand::Integration::YARD::CodeObjects::RouteObject
- Inherits:
-
YARD::CodeObjects::MethodObject
- Object
- YARD::CodeObjects::MethodObject
- BigBand::Integration::YARD::CodeObjects::RouteObject
- Defined in:
- lib/big_band/integration/yard.rb
Constant Summary collapse
- ISEP =
::YARD::CodeObjects::ISEP
Instance Attribute Summary collapse
-
#http_path ⇒ Object
Returns the value of attribute http_path.
-
#http_verb ⇒ Object
Returns the value of attribute http_verb.
-
#real_name ⇒ Object
Returns the value of attribute real_name.
Instance Method Summary collapse
Instance Attribute Details
#http_path ⇒ Object
Returns the value of attribute http_path.
13 14 15 |
# File 'lib/big_band/integration/yard.rb', line 13 def http_path @http_path end |
#http_verb ⇒ Object
Returns the value of attribute http_verb.
13 14 15 |
# File 'lib/big_band/integration/yard.rb', line 13 def http_verb @http_verb end |
#real_name ⇒ Object
Returns the value of attribute real_name.
13 14 15 |
# File 'lib/big_band/integration/yard.rb', line 13 def real_name @real_name end |
Instance Method Details
#name(prefix = false) ⇒ Object
14 15 16 17 |
# File 'lib/big_band/integration/yard.rb', line 14 def name(prefix = false) return super unless show_real_name? prefix ? (sep == ISEP ? "#{sep}#{real_name}" : real_name.to_s) : real_name.to_sym end |
#show_real_name? ⇒ Boolean
19 20 21 |
# File 'lib/big_band/integration/yard.rb', line 19 def show_real_name? real_name and caller[1] =~ /`signature'/ end |