Class: Module

Inherits:
Object
  • Object
show all
Defined in:
lib/lizarb/ruby/module.rb

Instance Method Summary collapse

Instance Method Details

#source_locationObject

/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_radicalObject

/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