Class: UnboundMethod
- Inherits:
-
Object
- Object
- UnboundMethod
- Defined in:
- lib/executable/core_ext.rb
Defined Under Namespace
Modules: Source
Instance Method Summary collapse
Instance Method Details
#comment ⇒ Object
16 17 18 |
# File 'lib/executable/core_ext.rb', line 16 def comment Source.get_above_comment(*source_location) end |
#source_location ⇒ Object
4 5 6 |
# File 'lib/executable/core_ext.rb', line 4 def source_location [__file__, __line__] rescue nil end |