Method: Bundler::Thor::Actions::ClassMethods#source_root

Defined in:
lib/bundler/vendor/thor/lib/thor/actions.rb

#source_root(path = nil) ⇒ Object

Stores and return the source root for this class



27
28
29
30
# File 'lib/bundler/vendor/thor/lib/thor/actions.rb', line 27

def source_root(path = nil)
  @_source_root = path if path
  @_source_root ||= nil
end