Class: Module
- Inherits:
-
Object
- Object
- Module
- Defined in:
- lib/lizarb/ruby/module.rb
Instance Method Summary collapse
-
#source_location ⇒ Object
/path/to/liza.rb.
-
#source_location_radical ⇒ Object
/path/to/liza.
Instance Method Details
#source_location ⇒ Object
/path/to/liza.rb
6 7 8 |
# File 'lib/lizarb/ruby/module.rb', line 6 def source_location Array Object.const_source_location name end |
#source_location_radical ⇒ Object
/path/to/liza
11 12 13 14 15 |
# File 'lib/lizarb/ruby/module.rb', line 11 def source_location_radical source_location[0][0..-4] rescue nil end |