Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

find path of module in ruby

Object.const_source_location('Baz')
#=> ["/../app/models/baz.rb", 3]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #path #module #ruby
ADD COMMENT
Topic
Name
9+7 =