module Queuel::Introspect

Public Instance Methods

const_with_nesting(other_name) click to toggle source
# File lib/queuel/introspect.rb, line 7
def const_with_nesting(other_name)
  Object.module_eval("#{module_names}::#{other_name}", __FILE__, __LINE__)
end
module_names() click to toggle source
# File lib/queuel/introspect.rb, line 3
def module_names
  self.to_s.split("::")[0..-2].join("::")
end